Skip to content

Commit

Permalink
CI: Run fuzzer corpora with RUST_BACKTRACE=1
Browse files Browse the repository at this point in the history
This way if we get regression panics -- like in
bytecodealliance#1192 -- then we actually have
some hope of debugging them properly.
  • Loading branch information
fitzgen committed Mar 5, 2020
1 parent 6f88fd9 commit ab317bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -88,26 +88,36 @@ jobs:
| shuf \
| head -n 3000 \
| xargs cargo fuzz run compile --release --debug-assertions
env:
RUST_BACKTRACE: 1
- run: |
find fuzz/corpus/instantiate -type f \
| shuf \
| head -n 2000 \
| xargs cargo fuzz run instantiate --release --debug-assertions
env:
RUST_BACKTRACE: 1
- run: |
find fuzz/corpus/instantiate_translated -type f \
| shuf \
| head -n 1000 \
| xargs cargo fuzz run instantiate_translated --release --debug-assertions
env:
RUST_BACKTRACE: 1
- run: |
find fuzz/corpus/api_calls -type f \
| shuf \
| head -n 100 \
| xargs cargo fuzz run api_calls --release --debug-assertions
env:
RUST_BACKTRACE: 1
- run: |
find fuzz/corpus/differential -type f \
| shuf \
| head -n 100 \
| xargs cargo fuzz run differential --release --debug-assertions
env:
RUST_BACKTRACE: 1
# Install wasm32-unknown-emscripten target, and ensure `crates/wasi-common`
# compiles to Emscripten.
Expand Down

0 comments on commit ab317bc

Please sign in to comment.