Skip to content

Commit

Permalink
Add fuzzing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed Sep 18, 2023
1 parent 0a07cfc commit 8040dca
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,15 @@ jobs:
run: rustup target add wasm32-unknown-unknown
- name: Compile to Wasm
run: cargo build --target wasm32-unknown-unknown

fuzz:
strategy:
matrix:
fuzz_target: ["diff", "instrument"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Run fuzzer for five minutes
run: cargo fuzz run --sanitizer none ${{ matrix.fuzz_target }} -- -max_total_time=300

0 comments on commit 8040dca

Please sign in to comment.