Skip to content

Commit

Permalink
Merge pull request #7558 from joshuawarner32/fix-fuzzing-minimization…
Browse files Browse the repository at this point in the history
…-command

Fix cd'ing for fuzzing minimize command in CI
  • Loading branch information
lukewilliamboswell authored Jan 29, 2025
2 parents ac3dcfc + 802f41b commit 689c58f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ jobs:
run: |
cargo +nightly-2024-02-03 install --locked cargo-fuzz
cd crates/compiler/test_syntax/fuzz && cargo +nightly-2024-02-03 fuzz run -j4 fuzz_expr --sanitizer=none -- -dict=dict.txt -max_total_time=60 || true
cd crates/compiler/test_syntax && for x in fuzz/artifacts/fuzz_expr/crash-*; do cargo run --bin minimize expr $x; done
cd crates/compiler/test_syntax && if ls fuzz/artifacts/fuzz_expr/ | grep crash-; then exit 1; fi
cd ..
for x in fuzz/artifacts/fuzz_expr/crash-*; do cargo run --bin minimize expr $x; done
if ls fuzz/artifacts/fuzz_expr/ | grep crash-; then exit 1; fi

0 comments on commit 689c58f

Please sign in to comment.