Continuous fuzzing (#944)
Enables automated fuzzing on Fuzzit. Runs fuzz regression tests every push and PR. Runs full fuzzing every push. Fuzzit emails if it finds crashes. Uses the existing fuzz targets: * translate-module - Fuzz valid WebAssembly modules. * reader-parse - Fuzz IR text format parsing.
This commit is contained in:
committed by
Till Schneidereit
parent
99380fad1a
commit
f8d0e6ecab
@@ -97,6 +97,30 @@ jobs:
|
||||
RUST_BACKTRACE: 1
|
||||
condition: and(succeeded(), eq(variables['toolchain'], 'nightly'))
|
||||
|
||||
- job: Fuzz_regression
|
||||
displayName: Fuzz regression
|
||||
pool:
|
||||
vmImage: "ubuntu-16.04"
|
||||
variables:
|
||||
toolchain: nightly
|
||||
steps:
|
||||
- template: ci/azure-install-rust.yml
|
||||
- bash: cargo install cargo-fuzz
|
||||
- bash: ci/fuzzit.sh local-regression
|
||||
|
||||
- job: Fuzz
|
||||
condition: ne(variables['Build.Reason'], 'PullRequest')
|
||||
pool:
|
||||
vmImage: "ubuntu-16.04"
|
||||
variables:
|
||||
toolchain: nightly
|
||||
steps:
|
||||
- template: ci/azure-install-rust.yml
|
||||
- bash: cargo install cargo-fuzz
|
||||
- bash: ci/fuzzit.sh fuzzing
|
||||
env:
|
||||
FUZZIT_API_KEY: $(FUZZIT_API_KEY)
|
||||
|
||||
- job: Build
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user