-
Notifications
You must be signed in to change notification settings - Fork 6
55 lines (49 loc) · 1.31 KB
/
memcheck.yml
File metadata and controls
55 lines (49 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
workflow_dispatch:
push:
branches:
- main
- master
- '**valgrind**'
paths:
- '.github/workflows/memcheck.yml'
- 'src/**'
- 'inst/include/**'
- 'memcheck/**'
- 'tests/testthat/**.R'
- 'vignettes/**.Rmd'
pull_request:
branches:
- main
- master
paths:
- '.github/workflows/memcheck.yml'
- 'src/**'
- 'inst/include/**'
- 'memcheck/**'
- 'tests/testthat/**.R'
- 'vignettes/**.Rmd'
name: mem-check
jobs:
mem-check:
runs-on: ubuntu-24.04
name: valgrind ${{ matrix.config.test }}
strategy:
fail-fast: false
matrix:
config:
- {test: 'tests'}
- {test: 'examples'}
- {test: 'vignettes'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
_R_CHECK_FORCE_SUGGESTS_: false
RSPM: https://packagemanager.rstudio.com/cran/__linux__/noble/latest
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
ASAN_OPTIONS: verify_asan_link_order=0
steps:
- uses: ms609/actions/memcheck@main
with:
test: ${{ matrix.config.test}}