Skip to content

Commit

Permalink
Merge pull request #21 from andrjohns/special-workflows
Browse files Browse the repository at this point in the history
Add valgrind and sanitizer check workflows
  • Loading branch information
andrjohns authored May 14, 2024
2 parents acd4b36 + 5024602 commit 19ca044
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/R-CMD-check-asan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check-special

jobs:
sanitizers-and-valgrind:
runs-on: ubuntu-latest
name: ${{ matrix.config.name }}
container:
image: ${{ matrix.config.container }}
strategy:
fail-fast: false
matrix:
config:
- { name: sanitizers,
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,
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
- uses: r-hub/actions/setup-deps@v1
- uses: r-hub/actions/run-check@v1

0 comments on commit 19ca044

Please sign in to comment.