diff options
author | AdamKorcz <adam@adalogics.com> | 2021-10-26 11:10:08 +0100 |
---|---|---|
committer | AdamKorcz <adam@adalogics.com> | 2021-10-26 11:10:08 +0100 |
commit | 8797152044545f2b7218747a641ebe7bc66f3568 (patch) | |
tree | b2405a2de6c1cd0074cb97db6bdcdf1b4e1319e0 /.github/workflows/cifuzz.yml | |
parent | dc321febde83dd0f31158e1be61a7aedda65e7a2 (diff) | |
download | libarchive-8797152044545f2b7218747a641ebe7bc66f3568.tar.gz |
Add CIFuzz
Diffstat (limited to '.github/workflows/cifuzz.yml')
-rw-r--r-- | .github/workflows/cifuzz.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml new file mode 100644 index 00000000..e5c60e4b --- /dev/null +++ b/.github/workflows/cifuzz.yml @@ -0,0 +1,24 @@ +name: CIFuzz +on: [pull_request] +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: 'libarchive' + dry-run: false + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + oss-fuzz-project-name: 'libarchive' + 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 |