File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [main, dev]
4+ pull_request :
5+
6+ name : valgrind
7+
8+ jobs :
9+ cargo-valgrind :
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ matrix :
13+ os : [ubuntu-latest]
14+ rust :
15+ - stable
16+ steps :
17+ - name : Cancel Previous Runs
18+ 19+ with :
20+ access_token : ${{ secrets.GITHUB_TOKEN }}
21+
22+ - uses : actions/checkout@v2
23+ with :
24+ token : ${{ secrets.GITHUB_TOKEN }}
25+ submodules : recursive
26+ - uses : actions-rs/toolchain@v1
27+ with :
28+ toolchain : ${{ matrix.rust }}
29+ override : true
30+ - uses : Swatinem/rust-cache@v1
31+ - run : sudo apt-get update -y
32+ if : matrix.os == 'ubuntu-latest'
33+ - run : sudo apt-get install -y valgrind
34+ if : matrix.os == 'ubuntu-latest'
35+ - run : cargo install cargo-valgrind
36+ - name : run cargo valgrind
37+ run : |
38+ cargo valgrind test --all-features
You can’t perform that action at this time.
0 commit comments