ClusterFuzzLite cron tasks #983
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 cron tasks | |
on: | |
schedule: | |
- cron: '30 1 * * *' # Once a day at 1:30 to run past batch job | |
permissions: read-all | |
jobs: | |
Pruning: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build Fuzzers | |
id: build | |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 | |
- name: Run Fuzzers | |
id: run | |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fuzz-seconds: 600 | |
mode: 'prune' | |
storage-repo: https://${{ secrets.FILHELPER_PAT }}@github.com/filecoin-project/ref-fvm-fuzz-corpora.git | |
storage-repo-branch: master | |
storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages". | |
Coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build Fuzzers | |
id: build | |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 | |
with: | |
sanitizer: coverage | |
- name: Run Fuzzers | |
id: run | |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fuzz-seconds: 600 | |
mode: 'coverage' | |
sanitizer: 'coverage' | |
storage-repo: https://${{ secrets.FILHELPER_PAT }}@github.com/filecoin-project/ref-fvm-fuzz-corpora.git | |
storage-repo-branch: master | |
storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages". | |