Merge pull request #1235 from fitzgen/ci-fuzz-corpora-backtraces

CI: Run fuzzer corpora with `RUST_BACKTRACE=1`
This commit is contained in:
Nick Fitzgerald
2020-03-05 11:21:09 -08:00
committed by GitHub

View File

@@ -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.