Debian Codegraph @

.github/workflows/cifuzz.yml

raw
1 name: CIFuzz
2 on: [pull_request]
3 jobs:
4 Fuzzing:
5 runs-on: ubuntu-latest
6 permissions:
7 security-events: write
8 steps:
9 - name: Build Fuzzers
10 id: build
11 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
12 with:
13 oss-fuzz-project-name: 'fast_float'
14 language: c++
15 - name: Run Fuzzers
16 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
17 with:
18 oss-fuzz-project-name: 'fast_float'
19 language: c++
20 fuzz-seconds: 300
21 output-sarif: true
22 - name: Upload Crash
23 uses: actions/upload-artifact@v4
24 if: failure() && steps.build.outcome == 'success'
25 with:
26 name: artifacts
27 path: ./out/artifacts
28 - name: Upload Sarif
29 if: always() && steps.build.outcome == 'success'
30 uses: github/codeql-action/upload-sarif@v3
31 with:
32 # Path to SARIF file relative to the root of the repository
33 sarif_file: cifuzz-sarif/results.sarif
34 checkout_path: cifuzz-sarif
35 category: CIFuzz