Update build timings. #392
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Valgrind | |
on: | |
[push, pull_request, 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 |