build: Test all features with valgrind

This commit is contained in:
Christoph Herzog 2021-08-09 15:51:43 +02:00
parent 070f20ae17
commit 0dc8675409
No known key found for this signature in database
GPG key ID: 676085CC2ABA202E

View file

@ -54,6 +54,6 @@ lint:
valgrind:
echo "Checking for memory leaks..."
cargo clean
cargo build --tests
cargo build --tests --all-features
find target/debug/deps -maxdepth 1 -type f -executable | xargs valgrind --leak-check=full --error-exitcode=1 --gen-suppressions=yes