File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 11# Run CI for R using https://eddelbuettel.github.io/r-ci/
2+ # This file is a slight variant by running a matrix of containers
23
34name : ci
45
1213
1314jobs :
1415 ci :
16+
1517 runs-on : ubuntu-latest
18+
19+ container :
20+ image : ${{ matrix.cntr }}
21+
1622 strategy :
1723 matrix :
1824 include :
@@ -44,17 +50,14 @@ jobs:
4450 # chmod 0755 run.sh
4551 # ./run.sh bootstrap
4652
47- - name : Container
48- run : docker pull ${{ matrix.cntr }}
49-
5053 - name : SessionInfo
51- run : docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.r }} -q -e 'sessionInfo()'
54+ run : ${{ matrix.r }} -q -e 'sessionInfo()'
5255
5356 - name : Build
54- run : docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{matrix.r }} CMD build --no-build-vignettes --no-manual .
57+ run : ${{matrix.r }} CMD build --no-build-vignettes --no-manual .
5558
5659 - name : Check
57- run : docker run --rm -i -v ${PWD}:/mnt -w /mnt -e CI=true ${{ matrix.cntr }} ${{ matrix.r }} CMD check --no-vignettes --no-manual Rcpp_*.tar.gz
60+ run : CI=true ${{ matrix.r }} CMD check --no-vignettes --no-manual Rcpp_*.tar.gz
5861
5962 # covr:
6063 # runs-on: ubuntu-latest
Original file line number Diff line number Diff line change 1+ 2023-04-12 Dirk Eddelbuettel <
[email protected] >
2+
3+ * .github/workflows/ci.yaml: Simplified container use
4+
152023-03-27 Dirk Eddelbuettel <
[email protected] >
26
37 * .github/workflows/stale.yaml: Roll to v8
You can’t perform that action at this time.
0 commit comments