px4-firmware/.github/workflows/cflite_batch.yml

35 lines
1.1 KiB
YAML
Raw Normal View History

name: ClusterFuzzLite batch fuzzing
2021-12-20 07:16:51 -04:00
on:
schedule:
- cron: '0 6 * * *' # UTC 6am every day.
2021-12-20 07:16:51 -04:00
permissions: read-all
jobs:
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 }}
fuzz-seconds: 1800 # 30 mins
mode: 'batch'
2021-12-20 07:16:51 -04:00
sanitizer: ${{ matrix.sanitizer }}
# 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".