ci: run the api_calls fuzz target in CI and with opts and assertions (#695)

We were previously not running the fuzz targets in release mode, but now we are.
This commit is contained in:
Nick Fitzgerald
2019-12-11 10:25:53 -08:00
committed by Alex Crichton
parent 6750605a61
commit 0cc8c6c867

View File

@@ -82,9 +82,10 @@ jobs:
working-directory: ./fuzz
# NB: the `-runs=0` means that libFuzzer won't generate new inputs, only run
# the seeds from the corpus.
- run: cargo fuzz run compile -- -runs=0
- run: cargo fuzz run instantiate -- -runs=0
- run: cargo fuzz run instantiate_translated -- -runs=0
- run: cargo fuzz run compile --release --debug-assertions -- -runs=0
- run: cargo fuzz run instantiate --release --debug-assertions -- -runs=0
- run: cargo fuzz run instantiate_translated --release --debug-assertions -- -runs=0
- run: cargo fuzz run api_calls --release --debug-assertions -- -runs=0
# Perform all tests (debug mode) for `wasmtime`. This runs stable/beta/nightly
# channels of Rust as well as macOS/Linux/Windows.