]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libarchive/.github/workflows/cifuzz.yml
libarchive: import changes from upstream
[FreeBSD/FreeBSD.git] / contrib / libarchive / .github / workflows / cifuzz.yml
1 name: CIFuzz
2 on: [pull_request]
3 jobs:
4   Fuzzing:
5     runs-on: ubuntu-latest
6     steps:
7     - name: Build Fuzzers
8       id: build
9       uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
10       with:
11         oss-fuzz-project-name: 'libarchive'
12         dry-run: false
13     - name: Run Fuzzers
14       uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
15       with:
16         oss-fuzz-project-name: 'libarchive'
17         fuzz-seconds: 600
18         dry-run: false
19     - name: Upload Crash
20       uses: actions/upload-artifact@v1
21       if: failure() && steps.build.outcome == 'success'
22       with:
23         name: artifacts
24         path: ./out/artifacts