Skip to content

Commit

Permalink
Test valgrind configs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed May 14, 2024
1 parent 41b16ea commit aad8973
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/R-CMD-check-asan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,32 @@ jobs:
fail-fast: false
matrix:
config:
- { name: sanitizers,
- { name: clang-asan,
job-config: {"label":"clang-asan","name":"clang-asan","container":"ghcr.io/r-hub/containers/clang-asan:latest"},
container: ghcr.io/r-hub/containers/clang-asan,
git-install: apt-get update && apt-get install -y git }
- { name: valgrind,
container: ghcr.io/r-hub/containers/valgrind,
job-config: { "label":"valgrind","name":"valgrind","container":"ghcr.io/r-hub/containers/valgrind:latest" },
git-install: dnf check-update && dnf install -y git }
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- name: Install git
run: ${{ matrix.config.git-install }}

- uses: r-hub/actions/checkout@v1.1.9
with:
submodules: true
- uses: r-hub/actions/platform-info@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}
- uses: r-hub/actions/setup-deps@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}
- uses: r-hub/actions/run-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}

0 comments on commit aad8973

Please sign in to comment.