diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ea1863..c1d7b27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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