• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: Valgrind
2
3on:
4  pull_request:
5    branches: [main]
6  workflow_dispatch:
7
8jobs:
9  valgrind:
10    name: Valgrind Tests
11    runs-on: ubuntu-latest
12    strategy:
13      fail-fast: true
14    steps:
15      - uses: actions/checkout@v2
16      - name: Install latest nightly
17        uses: actions-rs/toolchain@v1
18        with:
19            toolchain: nightly
20            override: true
21      - run: sudo apt-get install valgrind
22      - run: cargo +nightly install cargo-valgrind
23      - run: cargo +nightly valgrind test --release
24      - run: cargo +nightly valgrind test --all-features --release
25