-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.12 KB
/
R-CMD-check-cross.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
on:
push:
branches: docker-devel
name: R-CMD-check-crossplatform
jobs:
R-CMD-check:
runs-on: ubuntu-latest
name: Check (${{ matrix.config.platform }})
strategy:
fail-fast: false
matrix:
config:
- { platform: linux/386 }
- { platform: linux/amd64 }
- { platform: linux/arm/v5 }
- { platform: linux/arm/v7 }
- { platform: linux/arm64/v8 }
- { platform: linux/mips64le }
- { platform: linux/ppc64le }
- { platform: linux/riscv64 }
- { platform: linux/s390x }
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: docker/setup-qemu-action@v2
- uses: addnab/docker-run-action@v3
with:
image: andrjohns/quickjsr-cross-tests
options: -v ${{ github.workspace }}:/quickjsr --platform=${{ matrix.config.platform }}
shell: Rscript{0}
run: rcmdcheck::rcmdcheck("/quickjsr", args = c("--no-manual", "--as-cran"), error_on = "error")