We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8775d55 + abb95fc commit 4ee4c6fCopy full SHA for 4ee4c6f
.github/workflows/cifuzz.yml
@@ -0,0 +1,33 @@
1
+name: CIFuzz
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - master
6
+ paths:
7
+ - '**.c'
8
+ - '**.cc'
9
+ - '**.cpp'
10
+ - '**.cxx'
11
+ - '**.h'
12
+jobs:
13
+ Fuzzing:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Build Fuzzers
17
+ id: build
18
+ uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
19
+ with:
20
+ oss-fuzz-project-name: 'tinyusb'
21
+ language: c++
22
+ - name: Run Fuzzers
23
+ uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
24
25
26
27
+ fuzz-seconds: 600
28
+ - name: Upload Crash
29
+ uses: actions/upload-artifact@v3
30
+ if: failure() && steps.build.outcome == 'success'
31
32
+ name: artifacts
33
+ path: ./out/artifacts
0 commit comments