]> git.ipfire.org Git - thirdparty/systemd.git/blob - .github/workflows/main.yml
85a5db5706245854fe100f16b1f05b5f9862823c
[thirdparty/systemd.git] / .github / workflows / main.yml
1 ---
2 # vi: ts=2 sw=2 et:
3 # See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/
4
5 name: CIFuzz
6 on:
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'
15 push:
16 branches:
17 - master
18 jobs:
19 Fuzzing:
20 runs-on: ubuntu-latest
21 steps:
22 - name: Build Fuzzers
23 id: build
24 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
25 with:
26 oss-fuzz-project-name: 'systemd'
27 dry-run: false
28 - name: Run Fuzzers
29 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
30 with:
31 oss-fuzz-project-name: 'systemd'
32 fuzz-seconds: 600
33 dry-run: false
34 - name: Upload Crash
35 uses: actions/upload-artifact@v1
36 if: failure() && steps.build.outcome == 'success'
37 with:
38 name: artifacts
39 path: ./out/artifacts