Skip to content

Commit

Permalink
ci: add smoke-test step for fuzzers
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed Mar 21, 2024
1 parent 62b959d commit 19558d2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,25 @@ jobs:

- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2

fuzz:
name: Smoke-test fuzzing targets
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly

- name: Install cargo fuzz
run: cargo install cargo-fuzz

- name: Smoke-test fuzz targets
run: |
cargo fuzz build
for target in $(cargo fuzz list) ; do
cargo fuzz run $target -- -max_total_time=10
done

0 comments on commit 19558d2

Please sign in to comment.