File tree Expand file tree Collapse file tree 6 files changed +225
-103
lines changed
Expand file tree Collapse file tree 6 files changed +225
-103
lines changed Original file line number Diff line number Diff line change 1+ name : ClusterFuzzLite batch fuzzing
2+ on :
3+ schedule :
4+ - cron : ' 0 0/6 * * *' # Every 6th hour. Change this to whatever is suitable.
5+ permissions : read-all
6+ jobs :
7+ BatchFuzzing :
8+ runs-on : ubuntu-latest
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ sanitizer :
13+ - address
14+ # Override this with the sanitizers you want.
15+ # - undefined
16+ # - memory
17+ steps :
18+ - name : Build Fuzzers (${{ matrix.sanitizer }})
19+ id : build
20+ uses : google/clusterfuzzlite/actions/build_fuzzers@v1
21+ with :
22+ language : python # Change this to the language you are fuzzing.
23+ sanitizer : ${{ matrix.sanitizer }}
24+ - name : Run Fuzzers (${{ matrix.sanitizer }})
25+ id : run
26+ uses : google/clusterfuzzlite/actions/run_fuzzers@v1
27+ with :
28+ github-token : ${{ secrets.GITHUB_TOKEN }}
29+ fuzz-seconds : 3600
30+ mode : ' batch'
31+ sanitizer : ${{ matrix.sanitizer }}
32+ output-sarif : true
33+ # Optional but recommended: For storing certain artifacts from fuzzing.
34+ # See later section on "Git repo for storage".
35+ # storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git
36+ # storage-repo-branch: main # Optional. Defaults to "main"
37+ # storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
Original file line number Diff line number Diff line change 1+ name : ClusterFuzzLite continuous builds
2+ on :
3+ push :
4+ branches :
5+ - main # Use your actual default branch here.
6+ permissions : read-all
7+ jobs :
8+ Build :
9+ runs-on : ubuntu-latest
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }}
12+ cancel-in-progress : true
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ sanitizer :
17+ - address
18+ # Override this with the sanitizers you want.
19+ # - undefined
20+ # - memory
21+ steps :
22+ - name : Build Fuzzers (${{ matrix.sanitizer }})
23+ id : build
24+ uses : google/clusterfuzzlite/actions/build_fuzzers@v1
25+ with :
26+ language : python # Change this to the language you are fuzzing.
27+ sanitizer : ${{ matrix.sanitizer }}
28+ upload-build : true
Original file line number Diff line number Diff line change 1+ name : ClusterFuzzLite cron tasks
2+ on :
3+ schedule :
4+ - cron : ' 0 0 * * *' # Once a day at midnight.
5+ permissions : read-all
6+ jobs :
7+ Pruning :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Build Fuzzers
11+ id : build
12+ uses : google/clusterfuzzlite/actions/build_fuzzers@v1
13+ with :
14+ language : python # Change this to the language you are fuzzing
15+ - name : Run Fuzzers
16+ id : run
17+ uses : google/clusterfuzzlite/actions/run_fuzzers@v1
18+ with :
19+ github-token : ${{ secrets.GITHUB_TOKEN }}
20+ fuzz-seconds : 600
21+ mode : ' prune'
22+ output-sarif : true
23+ # Optional but recommended.
24+ # See later section on "Git repo for storage".
25+ # storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git
26+ # storage-repo-branch: main # Optional. Defaults to "main"
27+ # storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
You can’t perform that action at this time.
0 commit comments