Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Run CI for R using https://eddelbuettel.github.io/r-ci/
# This file is a slight variant by running a matrix of containers

name: ci

Expand All @@ -12,7 +13,12 @@ env:

jobs:
ci:

runs-on: ubuntu-latest

container:
image: ${{ matrix.cntr }}

strategy:
matrix:
include:
Expand Down Expand Up @@ -44,17 +50,14 @@ jobs:
# chmod 0755 run.sh
# ./run.sh bootstrap

- name: Container
run: docker pull ${{ matrix.cntr }}

- name: SessionInfo
run: docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{ matrix.r }} -q -e 'sessionInfo()'
run: ${{ matrix.r }} -q -e 'sessionInfo()'

- name: Build
run: docker run --rm -i -v ${PWD}:/mnt -w /mnt ${{ matrix.cntr }} ${{matrix.r }} CMD build --no-build-vignettes --no-manual .
run: ${{matrix.r }} CMD build --no-build-vignettes --no-manual .

- name: Check
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
run: CI=true ${{ matrix.r }} CMD check --no-vignettes --no-manual Rcpp_*.tar.gz

#covr:
# runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2023-04-12 Dirk Eddelbuettel <edd@debian.org>

* .github/workflows/ci.yaml: Simplified container use

2023-03-27 Dirk Eddelbuettel <edd@debian.org>

* .github/workflows/stale.yaml: Roll to v8
Expand Down