Merge pull request #1235 from fitzgen/ci-fuzz-corpora-backtraces
CI: Run fuzzer corpora with `RUST_BACKTRACE=1`
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -88,26 +88,36 @@ jobs:
|
|||||||
| shuf \
|
| shuf \
|
||||||
| head -n 3000 \
|
| head -n 3000 \
|
||||||
| xargs cargo fuzz run compile --release --debug-assertions
|
| xargs cargo fuzz run compile --release --debug-assertions
|
||||||
|
env:
|
||||||
|
RUST_BACKTRACE: 1
|
||||||
- run: |
|
- run: |
|
||||||
find fuzz/corpus/instantiate -type f \
|
find fuzz/corpus/instantiate -type f \
|
||||||
| shuf \
|
| shuf \
|
||||||
| head -n 2000 \
|
| head -n 2000 \
|
||||||
| xargs cargo fuzz run instantiate --release --debug-assertions
|
| xargs cargo fuzz run instantiate --release --debug-assertions
|
||||||
|
env:
|
||||||
|
RUST_BACKTRACE: 1
|
||||||
- run: |
|
- run: |
|
||||||
find fuzz/corpus/instantiate_translated -type f \
|
find fuzz/corpus/instantiate_translated -type f \
|
||||||
| shuf \
|
| shuf \
|
||||||
| head -n 1000 \
|
| head -n 1000 \
|
||||||
| xargs cargo fuzz run instantiate_translated --release --debug-assertions
|
| xargs cargo fuzz run instantiate_translated --release --debug-assertions
|
||||||
|
env:
|
||||||
|
RUST_BACKTRACE: 1
|
||||||
- run: |
|
- run: |
|
||||||
find fuzz/corpus/api_calls -type f \
|
find fuzz/corpus/api_calls -type f \
|
||||||
| shuf \
|
| shuf \
|
||||||
| head -n 100 \
|
| head -n 100 \
|
||||||
| xargs cargo fuzz run api_calls --release --debug-assertions
|
| xargs cargo fuzz run api_calls --release --debug-assertions
|
||||||
|
env:
|
||||||
|
RUST_BACKTRACE: 1
|
||||||
- run: |
|
- run: |
|
||||||
find fuzz/corpus/differential -type f \
|
find fuzz/corpus/differential -type f \
|
||||||
| shuf \
|
| shuf \
|
||||||
| head -n 100 \
|
| head -n 100 \
|
||||||
| xargs cargo fuzz run differential --release --debug-assertions
|
| xargs cargo fuzz run differential --release --debug-assertions
|
||||||
|
env:
|
||||||
|
RUST_BACKTRACE: 1
|
||||||
|
|
||||||
# Install wasm32-unknown-emscripten target, and ensure `crates/wasi-common`
|
# Install wasm32-unknown-emscripten target, and ensure `crates/wasi-common`
|
||||||
# compiles to Emscripten.
|
# compiles to Emscripten.
|
||||||
|
|||||||
Reference in New Issue
Block a user