ClusterFuzzLite cron tasks #129
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: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 10 * * 3' # Every Wednesday. | |
permissions: read-all | |
jobs: | |
Pruning: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build Fuzzers | |
id: build | |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 | |
with: | |
language: rust | |
- name: Run Fuzzers | |
id: run | |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fuzz-seconds: 600 | |
mode: 'prune' | |
# Optional but recommended. | |
# See later section on "Git repo for storage". | |
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/XiangpengHao/congee-fuzzing.git | |
storage-repo-branch: main # Optional. Defaults to "main" | |
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: | |
language: rust | |
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' | |
# Optional but recommended. | |
# See later section on "Git repo for storage". | |
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/XiangpengHao/congee-fuzzing.git | |
storage-repo-branch: main # Optional. Defaults to "main" | |
storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages". |