| 1 |
name: ClusterFuzzLite PR fuzzing |
| 2 |
on: |
| 3 |
workflow_dispatch: |
| 4 |
pull_request: |
| 5 |
branches: [ main ] |
| 6 |
permissions: read-all |
| 7 |
jobs: |
| 8 |
PR: |
| 9 |
runs-on: ubuntu-latest |
| 10 |
strategy: |
| 11 |
fail-fast: false |
| 12 |
matrix: |
| 13 |
sanitizer: [address] |
| 14 |
steps: |
| 15 |
- name: Build Fuzzers (${{ matrix.sanitizer }}) |
| 16 |
id: build |
| 17 |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 |
| 18 |
with: |
| 19 |
sanitizer: ${{ matrix.sanitizer }} |
| 20 |
language: c++ |
| 21 |
bad-build-check: false |
| 22 |
- name: Run Fuzzers (${{ matrix.sanitizer }}) |
| 23 |
id: run |
| 24 |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 |
| 25 |
with: |
| 26 |
github-token: ${{ secrets.GITHUB_TOKEN }} |
| 27 |
fuzz-seconds: 100 |
| 28 |
mode: 'code-change' |
| 29 |
report-unreproducible-crashes: false |
| 30 |
sanitizer: ${{ matrix.sanitizer }} |