Skip to content

Commit

Permalink
add cargo-fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Aug 5, 2024
1 parent d15259d commit 01966ad
Show file tree
Hide file tree
Showing 8 changed files with 1,066 additions and 290 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Cargo Fuzz

on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
fuzz:
name: Cargo Fuzz
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: taiki-e/checkout-action@v1

- name: Install cargo-fuzz
uses: taiki-e/install-action@v2
with:
tool: cargo-fuzz

- name: Nightly
run: rustup default nightly

- name: Run Fuzzer
run: cargo +nightly fuzz run --sanitizer none --release parser -- -only_ascii=1 -detect_leaks=0 -max_total_time=900
Loading

0 comments on commit 01966ad

Please # to comment.