Commit 6d2b4d8f81b1baf0b26af30e275a84ed5d00629a

Authored by Leo Neat
Committed by Jay Berkenbilt
1 parent d043c6b8

Add CIFuzz action

Showing 1 changed file with 23 additions and 0 deletions
.github/workflows/main.yml 0 → 100644
  1 +name: CIFuzz
  2 +on: [pull_request]
  3 +jobs:
  4 + Fuzzing:
  5 + runs-on: ubuntu-latest
  6 + steps:
  7 + - name: Build Fuzzers
  8 + uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
  9 + with:
  10 + oss-fuzz-project-name: 'qpdf'
  11 + dry-run: true
  12 + - name: Run Fuzzers
  13 + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
  14 + with:
  15 + oss-fuzz-project-name: 'qpdf'
  16 + fuzz-seconds: 600
  17 + dry-run: true
  18 + - name: Upload Crash
  19 + uses: actions/upload-artifact@v1
  20 + if: failure()
  21 + with:
  22 + name: artifacts
  23 + path: ./out/artifacts