We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 782cf68 commit 1081ab0Copy full SHA for 1081ab0
.github/workflows/fuzz-bench.yml
@@ -39,13 +39,15 @@ jobs:
39
with:
40
minimum-version: ${{ steps.nss-version.outputs.minimum }}
41
42
- # Check that the fuzz and bench targets build
+ # Check that the fuzz and bench targets work
43
- if: ${{ matrix.check == 'fuzz' }}
44
env:
45
UBUNTU: ${{ startsWith(matrix.os, 'ubuntu') }}
46
run: |
47
- # FIXME: https://github.com/rust-fuzz/cargo-fuzz/issues/384 for why no LTO.
48
- CARGO_PROFILE_RELEASE_LTO=false cargo fuzz build
+ cargo fuzz build --dev
+ for fuzzer in $(cargo fuzz list); do
49
+ cargo fuzz run --dev --sanitizer none "$fuzzer" -- -runs=1
50
+ done
51
52
- if: ${{ matrix.check == 'bench' }}
- run: cargo bench --features bench --no-run
53
+ run: cargo bench --features bench --profile dev -- --profile-time 1
0 commit comments