cifuzz: add integration (#418)

Signed-off-by: David Korczynski <david@adalogics.com>

Co-authored-by: Jean-Michel Picod <jmichel@google.com>
This commit is contained in:
DavidKorczynski
2021-12-02 13:21:56 +00:00
committed by GitHub
parent 37e9d6d64d
commit 83b2a74ae6

28
.github/workflows/cifuzz.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: CIFuzz
on:
pull_request:
branches:
- develop
jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'opensk'
dry-run: false
language: rust
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'opensk'
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v1
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts