2022-01-06 03:27:33 -04:00
|
|
|
name: ClusterFuzzLite batch fuzzing
|
2021-12-20 07:16:51 -04:00
|
|
|
on:
|
2022-01-06 03:27:33 -04:00
|
|
|
schedule:
|
|
|
|
- cron: '0 6 * * *' # UTC 6am every day.
|
2021-12-20 07:16:51 -04:00
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
2022-01-06 03:27:33 -04:00
|
|
|
BatchFuzzing:
|
2021-12-20 07:16:51 -04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
sanitizer:
|
|
|
|
- address
|
|
|
|
- undefined
|
|
|
|
- memory
|
|
|
|
steps:
|
|
|
|
- name: Build Fuzzers (${{ matrix.sanitizer }})
|
|
|
|
id: build
|
|
|
|
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
|
|
|
|
with:
|
|
|
|
sanitizer: ${{ matrix.sanitizer }}
|
|
|
|
- name: Run Fuzzers (${{ matrix.sanitizer }})
|
|
|
|
id: run
|
|
|
|
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
|
|
|
|
with:
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
2022-01-06 03:27:33 -04:00
|
|
|
fuzz-seconds: 1800 # 30 mins
|
|
|
|
mode: 'batch'
|
2021-12-20 07:16:51 -04:00
|
|
|
sanitizer: ${{ matrix.sanitizer }}
|
2022-01-06 03:27:33 -04:00
|
|
|
# Optional but recommended: For storing certain artifacts from fuzzing.
|
2021-12-20 07:16:51 -04:00
|
|
|
# See later section on "Git repo for storage".
|
|
|
|
# storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git
|
|
|
|
# storage-repo-branch: main # Optional. Defaults to "main"
|
|
|
|
# storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
|