Debian Codegraph @

.github/workflows/cifuzz.yml

raw symbols SCIP
1 ---
2 # https://google.github.io/oss-fuzz/getting-started/continuous-integration/
3 name: CIFuzz
4 on:
5 push:
6 branches:
7 - master
8 pull_request:
9 branches:
10 - master
11 jobs:
12 Fuzzing:
13 runs-on: ubuntu-latest
14 if: github.repository == 'libbpf/libbpf'
15 strategy:
16 fail-fast: false
17 matrix:
18 sanitizer: [address, undefined, memory]
19 steps:
20 - name: Build Fuzzers (${{ matrix.sanitizer }})
21 id: build
22 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
23 with:
24 oss-fuzz-project-name: 'libbpf'
25 dry-run: false
26 allowed-broken-targets-percentage: 0
27 sanitizer: ${{ matrix.sanitizer }}
28 - name: Run Fuzzers (${{ matrix.sanitizer }})
29 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
30 with:
31 oss-fuzz-project-name: 'libbpf'
32 fuzz-seconds: 300
33 dry-run: false
34 sanitizer: ${{ matrix.sanitizer }}
35 - name: Upload Crash
36 uses: actions/upload-artifact@v4
37 if: failure() && steps.build.outcome == 'success'
38 with:
39 name: ${{ matrix.sanitizer }}-artifacts
40 path: ./out/artifacts