Add CIFuzz action

This commit is contained in:
Leo Neat 2020-02-20 16:50:10 -08:00 committed by Jay Berkenbilt
parent d043c6b828
commit 6d2b4d8f81
1 changed files with 23 additions and 0 deletions

23
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: CIFuzz
on: [pull_request]
jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'qpdf'
dry-run: true
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'qpdf'
fuzz-seconds: 600
dry-run: true
- name: Upload Crash
uses: actions/upload-artifact@v1
if: failure()
with:
name: artifacts
path: ./out/artifacts