2020-02-06 21:39:43 +00:00
|
|
|
name: CIFuzz
|
2020-02-11 16:42:10 +00:00
|
|
|
on: [pull_request]
|
2020-02-06 21:39:43 +00:00
|
|
|
jobs:
|
|
|
|
Fuzzing:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Build Fuzzers
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
|
|
|
with:
|
2020-02-19 23:32:30 +00:00
|
|
|
oss-fuzz-project-name: 'example'
|
2020-02-06 21:39:43 +00:00
|
|
|
dry-run: false
|
|
|
|
- name: Run Fuzzers
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
|
|
|
with:
|
2020-02-19 23:32:30 +00:00
|
|
|
oss-fuzz-project-name: 'example'
|
2020-02-21 18:48:22 +00:00
|
|
|
fuzz-seconds: 600
|
2020-02-06 21:39:43 +00:00
|
|
|
dry-run: false
|
|
|
|
- name: Upload Crash
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
if: failure()
|
|
|
|
with:
|
2020-02-11 16:42:10 +00:00
|
|
|
name: artifacts
|
|
|
|
path: ./out/artifacts
|