Skip to content

Commit

Permalink
include sanitizers
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Dec 24, 2023
1 parent 00d1c16 commit 397ba8c
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/sanitizers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# commits can contain win, rhub or deploy text for specific actions
name: Check
on: push
jobs:
check-r-devel-san:
runs-on: ubuntu-18.04
container: rocker/r-devel-san
steps:
- name: Checkout repository πŸ›Ž
uses: actions/checkout@v2

- name: Install dependencies
shell: Rscript {0}
run: |
install.packages(c("Rcpp", "knitr", "rmarkdown", "tinytest", "rcmdcheck"))
- name: Check πŸ”
shell: Rscript {0}
run: |
rcmdcheck::rcmdcheck(
args = c("--as-cran", "--ignore-vignettes"),
build_args = "--no-build-vignettes",
error_on = "warning"
)
check-r-devel-ubsan-clang:
runs-on: ubuntu-18.04
container: rocker/r-devel-ubsan-clang
steps:
- name: Checkout repository πŸ›Ž
uses: actions/checkout@v2

- name: Install dependencies
shell: Rscript {0}
run: |
install.packages(c("Rcpp", "knitr", "rmarkdown", "tinytest", "rcmdcheck"))
- name: Check πŸ”
shell: Rscript {0}
run: |
rcmdcheck::rcmdcheck(
args = c("--as-cran", "--ignore-vignettes"),
build_args = "--no-build-vignettes",
error_on = "warning"
)

0 comments on commit 397ba8c

Please sign in to comment.