ci/Github actions: add CIFuzz integration
[fio.git] / .github / workflows / cifuzz.yml
CommitLineData
8375d82a
DK
1name: CIFuzz
2on: [pull_request]
3jobs:
4 Fuzzing:
5 runs-on: ubuntu-latest
6 steps:
7 - name: Build Fuzzers
8 id: build
9 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
10 with:
11 oss-fuzz-project-name: 'fio'
12 dry-run: false
13 - name: Run Fuzzers
14 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
15 with:
16 oss-fuzz-project-name: 'fio'
17 fuzz-seconds: 600
18 dry-run: false
19 - name: Upload Crash
20 uses: actions/upload-artifact@v1
21 if: failure() && steps.build.outcome == 'success'
22 with:
23 name: artifacts
24 path: ./out/artifacts