Fuzz #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fuzz | |
on: | |
schedule: | |
- cron: "0 0 * * *" # daily | |
workflow_dispatch: | |
jobs: | |
fuzz: | |
name: "fuzz" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install cargo fuzz | |
run: cargo install cargo-fuzz | |
- name: Run fuzzing target | |
run: cargo fuzz run fuzz_compress -- -max_total_time=600 | |
continue-on-error: true | |
- name: Archive crash artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: fuzzing-crash-artifacts | |
path: fuzz/artifacts | |
- name: Archive fuzzing corpus | |
uses: actions/upload-artifact@v4 | |
with: | |
name: fuzzing-corpus | |
path: fuzz/corpus |