| 1 |
name: ClusterFuzzLite cron tasks |
| 2 |
on: |
| 3 |
schedule: |
| 4 |
- cron: '0 0 * * *' # Once a day at midnight. |
| 5 |
permissions: read-all |
| 6 |
jobs: |
| 7 |
Pruning: |
| 8 |
runs-on: ubuntu-latest |
| 9 |
steps: |
| 10 |
- name: Build Fuzzers |
| 11 |
id: build |
| 12 |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 |
| 13 |
- name: Run Fuzzers |
| 14 |
id: run |
| 15 |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 |
| 16 |
with: |
| 17 |
github-token: ${{ secrets.GITHUB_TOKEN }} |
| 18 |
fuzz-seconds: 600 |
| 19 |
mode: 'prune' |
| 20 |
# For storing certain artifacts from fuzzing. |
| 21 |
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/openiked/openiked-fuzzing.git |
| 22 |
storage-repo-branch: main |
| 23 |
storage-repo-branch-coverage: gh-pages |
| 24 |
Coverage: |
| 25 |
runs-on: ubuntu-latest |
| 26 |
steps: |
| 27 |
- name: Build Fuzzers |
| 28 |
id: build |
| 29 |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 |
| 30 |
with: |
| 31 |
sanitizer: coverage |
| 32 |
- name: Run Fuzzers |
| 33 |
id: run |
| 34 |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 |
| 35 |
with: |
| 36 |
github-token: ${{ secrets.GITHUB_TOKEN }} |
| 37 |
fuzz-seconds: 600 |
| 38 |
mode: 'coverage' |
| 39 |
sanitizer: 'coverage' |
| 40 |
# For storing certain artifacts from fuzzing. |
| 41 |
# coverage-report will be created at |
| 42 |
# https://openiked.github.io/openiked-fuzzing/coverage/latest/report/linux/report.html |
| 43 |
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/openiked/openiked-fuzzing.git |
| 44 |
storage-repo-branch: main |
| 45 |
storage-repo-branch-coverage: gh-pages |
| 46 |
|