-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1.09 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
42
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
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/arm/v5 }
- { platform: linux/arm/v7 }
- { 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 }}
run: |
R CMD build /quickjsr
R CMD check --output=/quickjsr --as-cran --no-manual QuickJSR_*.tar.gz