oxc/.github/workflows/fuzz.yml

27 lines
596 B
YAML

name: Cargo Fuzz
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
fuzz:
name: Cargo Fuzz
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Run
run: |
cd crates/oxc_parser/fuzz
cargo fuzz run --release parser -- -only_ascii=1 -detect_leaks=0 -max_total_time=900