-
Notifications
You must be signed in to change notification settings - Fork 40
27 lines (25 loc) · 940 Bytes
/
Valgrind.yml
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
name: Valgrind
on:
[workflow_dispatch]
jobs:
valgrind:
name: Valgrind Tests
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
- name: Install latest nightly
uses: dtolnay/rust-toolchain@stable
with:
# NOTE: For whatever reason, there's a memory leak for recent
# versions if we don't FULLY qualify the toolchain version.
# This seems to have happened between 2024-09-27 and 2024-10-03.
# But, since it requires an unqualified nightly name, it's
# impossible to bisect.
toolchain: nightly-2024-09-27
- run: sudo apt-get update
- run: sudo apt-get install valgrind
- run: cargo +nightly-2024-09-27 install cargo-valgrind
- run: cargo +nightly-2024-09-27 valgrind test --release
- run: cargo +nightly-2024-09-27 valgrind test --all-features --release