Skip to content

Commit

Permalink
Enable fuzz_read with no default features
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Feb 29, 2024
1 parent 9113cb6 commit 207e595
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,32 @@ jobs:
path: fuzz/artifacts/fuzz_read/crash-*
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:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 207e595

Please sign in to comment.