| 1 |
name: ClusterFuzzLite PR fuzzing |
| 2 |
on: |
| 3 |
pull_request: |
| 4 |
paths: |
| 5 |
- iked/ikev2_pld.c |
| 6 |
- regress/parser-libfuzzer/** |
| 7 |
permissions: read-all |
| 8 |
jobs: |
| 9 |
PR: |
| 10 |
runs-on: ubuntu-latest |
| 11 |
strategy: |
| 12 |
fail-fast: false |
| 13 |
matrix: |
| 14 |
sanitizer: |
| 15 |
- address |
| 16 |
- undefined |
| 17 |
steps: |
| 18 |
- name: Build Fuzzers (${{ matrix.sanitizer }}) |
| 19 |
id: build |
| 20 |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 |
| 21 |
with: |
| 22 |
sanitizer: ${{ matrix.sanitizer }} |
| 23 |
# used to only run fuzzers that are affected by the PR. |
| 24 |
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/openiked/openiked-fuzzing.git |
| 25 |
storage-repo-branch: main |
| 26 |
storage-repo-branch-coverage: gh-pages |
| 27 |
- name: Run Fuzzers (${{ matrix.sanitizer }}) |
| 28 |
id: run |
| 29 |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 |
| 30 |
with: |
| 31 |
github-token: ${{ secrets.GITHUB_TOKEN }} |
| 32 |
fuzz-seconds: 600 |
| 33 |
mode: 'code-change' |
| 34 |
sanitizer: ${{ matrix.sanitizer }} |
| 35 |
# used to download the corpus produced by batch fuzzing. |
| 36 |
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/openiked/openiked-fuzzing.git |
| 37 |
storage-repo-branch: main |
| 38 |
storage-repo-branch-coverage: gh-pages |