Fix CI fuzz runners

This commit is contained in:
Alex Crichton
2020-03-17 11:58:48 -07:00
parent 5f47068eb1
commit 532422a5d9

View File

@@ -87,35 +87,35 @@ jobs:
find fuzz/corpus/compile -type f \ find fuzz/corpus/compile -type f \
| shuf \ | shuf \
| head -n 3000 \ | head -n 3000 \
| xargs cargo fuzz run compile --release --debug-assertions | xargs cargo fuzz run compile --release --debug-assertions --features binaryen
env: env:
RUST_BACKTRACE: 1 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 --features binaryen
env: env:
RUST_BACKTRACE: 1 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 --features binaryen
env: env:
RUST_BACKTRACE: 1 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 --features binaryen
env: env:
RUST_BACKTRACE: 1 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 --features binaryen
env: env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1