File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Run CI for R using https://eddelbuettel.github.io/r-ci/
2
+
3
+ name : ci
4
+
5
+ on :
6
+ push :
7
+ pull_request :
8
+
9
+ env :
10
+ USE_BSPM : " true"
11
+ _R_CHECK_FORCE_SUGGESTS_ : " false"
12
+
13
+ jobs :
14
+ ci :
15
+ runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ include :
19
+ - name : release
20
+ cntr : rcpp/ci
21
+ r : R
22
+ - name : r-3.6
23
+ cntr : rcpp/ci-3.6
24
+ r : R
25
+ - name : r-3.5
26
+ cntr : rcpp/ci-3.5
27
+ r : R
28
+ - name : dev
29
+ cntr : rcpp/ci-dev
30
+ r : RD
31
+
32
+ steps :
33
+ - uses : actions/checkout@v2
34
+
35
+ - name : Bootstrap
36
+ run : |
37
+ curl -OLs https://eddelbuettel.github.io/r-ci/run.sh
38
+ chmod 0755 run.sh
39
+ ./run.sh bootstrap
40
+
41
+ - name : Container
42
+ run : |
43
+ docker pull ${{ matrix.cntr }}
44
+ docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.r }} -q -e 'sessionInfo()'
45
+
46
+ - name : Build
47
+ run : docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{matrix.r }} CMD build --no-build-vignettes --no-manual .
48
+
49
+ - name : Check
50
+ run : docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.r }} CMD check --no-vignettes --no-manual Rcpp_*.tar.gz
Original file line number Diff line number Diff line change
1
+ 2020-12-16 Dirk Eddelbuettel <
[email protected] >
2
+
3
+ * .github/workflows/ci.yaml: Add container-based CI runner
4
+
1
5
2020-11-06 Dirk Eddelbuettel <
[email protected] >
2
6
3
7
* DESCRIPTION: More URL updates, e.g. http -> https
You can’t perform that action at this time.
0 commit comments