Enable fuzz_read with no default features
This commit is contained in:
parent
9113cb6b07
commit
207e595785
1 changed files with 26 additions and 0 deletions
26
.github/workflows/ci.yaml
vendored
26
.github/workflows/ci.yaml
vendored
|
@ -105,6 +105,32 @@ jobs:
|
||||||
path: fuzz/artifacts/fuzz_read/crash-*
|
path: fuzz/artifacts/fuzz_read/crash-*
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
||||||
|
fuzz_read_with_no_features:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: nightly
|
||||||
|
override: true
|
||||||
|
|
||||||
|
- run: cargo install cargo-fuzz
|
||||||
|
- name: compile fuzz
|
||||||
|
run: |
|
||||||
|
cargo fuzz build --no-default-features fuzz_read
|
||||||
|
- name: run fuzz
|
||||||
|
run: |
|
||||||
|
cargo fuzz run fuzz_read -- -timeout=5s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000
|
||||||
|
- name: Upload any failure inputs
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: fuzz_read_bad_inputs
|
||||||
|
path: fuzz/artifacts/fuzz_read/crash-*
|
||||||
|
if-no-files-found: ignore
|
||||||
|
|
||||||
fuzz_write:
|
fuzz_write:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue