docs: 感谢D老师提供的文案 #237
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: fuzzing | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
fuzzing: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sanitizer: [address] | |
steps: | |
- name: Build Fuzzers (${{ matrix.sanitizer }}) | |
id: build | |
uses: google/clusterfuzzlite/actions/build_fuzzers@v1 | |
with: | |
sanitizer: ${{ matrix.sanitizer }} | |
language: c++ | |
bad-build-check: false | |
- name: Run Fuzzers (${{ matrix.sanitizer }}) | |
id: run | |
uses: google/clusterfuzzlite/actions/run_fuzzers@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fuzz-seconds: 120 | |
mode: 'code-change' | |
report-unreproducible-crashes: false | |
sanitizer: ${{ matrix.sanitizer }} |