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 1
1
# Run CI for R using https://eddelbuettel.github.io/r-ci/
2
+ # This file is a slight variant by running a matrix of containers
2
3
3
4
name : ci
4
5
12
13
13
14
jobs :
14
15
ci :
16
+
15
17
runs-on : ubuntu-latest
18
+
19
+ container :
20
+ image : ${{ matrix.cntr }}
21
+
16
22
strategy :
17
23
matrix :
18
24
include :
@@ -44,17 +50,14 @@ jobs:
44
50
# chmod 0755 run.sh
45
51
# ./run.sh bootstrap
46
52
47
- - name : Container
48
- run : docker pull ${{ matrix.cntr }}
49
-
50
53
- 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()'
52
55
53
56
- 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 .
55
58
56
59
- 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
58
61
59
62
# covr:
60
63
# 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
+
1
5
2023-03-27 Dirk Eddelbuettel <
[email protected] >
2
6
3
7
* .github/workflows/stale.yaml: Roll to v8
You can’t perform that action at this time.
0 commit comments