]> git.ipfire.org Git - thirdparty/systemd.git/blame - .github/workflows/main.yml
cifuzz: set allowed-broken-targets-percentage to 0
[thirdparty/systemd.git] / .github / workflows / main.yml
CommitLineData
3b4ea094
FS
1---
2# vi: ts=2 sw=2 et:
3# See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/
4
5name: CIFuzz
94f660a8
FS
6on:
7 pull_request:
8 paths:
9 - '**/meson.build'
10 - '.github/workflows/**'
11 - 'meson_options.txt'
12 - 'src/**'
13 - 'test/fuzz/**'
14 - 'tools/oss-fuzz.sh'
a114ab63
FS
15 push:
16 branches:
17 - master
3b4ea094
FS
18jobs:
19 Fuzzing:
20 runs-on: ubuntu-latest
21 steps:
22 - name: Build Fuzzers
9494b39d 23 id: build
3b4ea094
FS
24 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
25 with:
26 oss-fuzz-project-name: 'systemd'
27 dry-run: false
4b129fba 28 allowed-broken-targets-percentage: 0
3b4ea094
FS
29 - name: Run Fuzzers
30 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
31 with:
32 oss-fuzz-project-name: 'systemd'
33 fuzz-seconds: 600
34 dry-run: false
35 - name: Upload Crash
36 uses: actions/upload-artifact@v1
9494b39d 37 if: failure() && steps.build.outcome == 'success'
3b4ea094
FS
38 with:
39 name: artifacts
40 path: ./out/artifacts