File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CIFuzz
2
+ on :
3
+ pull_request :
4
+ paths :
5
+ - ' **.cpp'
6
+ - ' **.h'
7
+ permissions : {}
8
+ jobs :
9
+ Fuzzing :
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ security-events : write
13
+ steps :
14
+ - name : Build Fuzzers
15
+ id : build
16
+ uses : google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
17
+ with :
18
+ oss-fuzz-project-name : ' connectedhomeip'
19
+ language : c++
20
+ - name : Run Fuzzers
21
+ uses : google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
22
+ with :
23
+ oss-fuzz-project-name : ' connectedhomeip'
24
+ language : c++
25
+ fuzz-seconds : 300
26
+ output-sarif : true
27
+ - name : Upload Crash
28
+ uses : actions/upload-artifact@v3
29
+ if : failure() && steps.build.outcome == 'success'
30
+ with :
31
+ name : artifacts
32
+ path : ./out/artifacts
33
+ - name : Upload Sarif
34
+ if : always() && steps.build.outcome == 'success'
35
+ uses : github/codeql-action/upload-sarif@v2
36
+ with :
37
+ # Path to SARIF file relative to the root of the repository
38
+ sarif_file : cifuzz-sarif/results.sarif
39
+ checkout_path : cifuzz-sarif
You can’t perform that action at this time.
0 commit comments