ClusterFuzzLite batch fuzzing #27
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: ClusterFuzzLite batch fuzzing | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0/24 * * *' # Every 24th hour | |
permissions: read-all | |
jobs: | |
BatchFuzzing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get fuzzer auth token | |
uses: actions/create-github-app-token@v1 | |
id: fuzzer-token | |
with: | |
owner: ${{ github.repository_owner }} | |
app-id: ${{ vars.FUEL_FUZZING_CORPUS_APP_ID }} | |
private-key: ${{ secrets.FUEL_FUZZING_CORPUS_APP_KEY }} | |
- name: Build Fuzzers (${{ matrix.sanitizer }}) | |
id: build | |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 | |
with: | |
language: rust | |
- name: Run Fuzzers (${{ matrix.sanitizer }}) | |
id: run | |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fuzz-seconds: 3600 | |
mode: 'batch' | |
output-sarif: true | |
storage-repo: https://oauth2:${{ steps.fuzzer-token.outputs.token }}@github.com/FuelLabs/fuel-fuzzing-corpus.git | |
storage-repo-branch: main | |
storage-repo-branch-coverage: gh-pages |