2020-02-21 00:50:10 +00:00
|
|
|
name: CIFuzz
|
2020-10-27 22:07:56 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- build
|
|
|
|
- build/*
|
|
|
|
paths-ignore:
|
|
|
|
- 'ChangeLog'
|
|
|
|
- 'README*'
|
|
|
|
- 'TODO'
|
|
|
|
pull_request:
|
2020-02-21 00:50:10 +00:00
|
|
|
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'
|
2020-03-17 23:33:58 +00:00
|
|
|
dry-run: false
|
2020-02-21 00:50:10 +00:00
|
|
|
- name: Run Fuzzers
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'qpdf'
|
|
|
|
fuzz-seconds: 600
|
2020-03-17 23:33:58 +00:00
|
|
|
dry-run: false
|
2020-02-21 00:50:10 +00:00
|
|
|
- name: Upload Crash
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
if: failure()
|
|
|
|
with:
|
|
|
|
name: artifacts
|
|
|
|
path: ./out/artifacts
|