File tree 1 file changed +49
-0
lines changed
1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ClusterFuzzLite PR fuzzing
2
+ on :
3
+ pull_request :
4
+ paths :
5
+ - ' **'
6
+ permissions : read-all
7
+ jobs :
8
+ PR :
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 : c++ # Change this to the language you are fuzzing.
27
+ github-token : ${{ secrets.GITHUB_TOKEN }}
28
+ sanitizer : ${{ matrix.sanitizer }}
29
+ # Optional but recommended: used to only run fuzzers that are affected
30
+ # by the PR.
31
+ # See later section on "Git repo for storage".
32
+ # storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git
33
+ # storage-repo-branch: main # Optional. Defaults to "main"
34
+ # storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
35
+ - name : Run Fuzzers (${{ matrix.sanitizer }})
36
+ id : run
37
+ uses : google/clusterfuzzlite/actions/run_fuzzers@v1
38
+ with :
39
+ github-token : ${{ secrets.GITHUB_TOKEN }}
40
+ fuzz-seconds : 600
41
+ mode : ' code-change'
42
+ sanitizer : ${{ matrix.sanitizer }}
43
+ output-sarif : true
44
+ # Optional but recommended: used to download the corpus produced by
45
+ # batch fuzzing.
46
+ # See later section on "Git repo for storage".
47
+ # storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git
48
+ # storage-repo-branch: main # Optional. Defaults to "main"
49
+ # storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
You can’t perform that action at this time.
0 commit comments