Add a small amount of fuzzer-running to fuzz-continuous #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ClusterFuzzLite continuous fuzzing | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.clusterfuzzlite/**' | |
- '.github/workflows/fuzz-continuous.yml' | |
- 'cmake/**' | |
- 'include/**' | |
- 'src/**' | |
- 'tests/**' | |
- '**/CMakeLists.txt' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}-${{ github.event.schedule }} | |
cancel-in-progress: true | |
jobs: | |
fuzz: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sanitizer: | |
- address | |
- undefined | |
#- memory | |
steps: | |
- name: Build fuzzers | |
id: build | |
uses: eliaskosunen/clusterfuzzlite/actions/build_fuzzers@main | |
with: | |
language: c++ | |
sanitizer: ${{ matrix.sanitizer }} | |
upload-build: true | |
- name: Run fuzzers | |
id: run | |
uses: eliaskosunen/clusterfuzzlite/actions/run_fuzzers@main | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fuzz-seconds: 120 | |
mode: 'code-change' | |
sanitizer: ${{ matrix.sanitizer }} | |
output-sarif: true | |
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/eliaskosunen/scnlib-fuzz-corpus.git |