xref: /freebsd/crypto/libecc/.github/workflows/libecc_cifuzz.yml (revision f0865ec9906d5a18fa2a3b61381f22ce16e606ad)
1*f0865ec9SKyle Evansname: CIFuzz
2*f0865ec9SKyle Evanson: [pull_request]
3*f0865ec9SKyle Evansjobs:
4*f0865ec9SKyle Evans  Fuzzing:
5*f0865ec9SKyle Evans    runs-on: ubuntu-latest
6*f0865ec9SKyle Evans    steps:
7*f0865ec9SKyle Evans    - name: Build Fuzzers
8*f0865ec9SKyle Evans      id: build
9*f0865ec9SKyle Evans      uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
10*f0865ec9SKyle Evans      with:
11*f0865ec9SKyle Evans        oss-fuzz-project-name: 'libecc'
12*f0865ec9SKyle Evans        dry-run: false
13*f0865ec9SKyle Evans        language: c++
14*f0865ec9SKyle Evans    - name: Run Fuzzers
15*f0865ec9SKyle Evans      uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
16*f0865ec9SKyle Evans      with:
17*f0865ec9SKyle Evans        oss-fuzz-project-name: 'libecc'
18*f0865ec9SKyle Evans        fuzz-seconds: 300
19*f0865ec9SKyle Evans        dry-run: false
20*f0865ec9SKyle Evans        language: c++
21*f0865ec9SKyle Evans    - name: Upload Crash
22*f0865ec9SKyle Evans      uses: actions/upload-artifact@v3
23*f0865ec9SKyle Evans      if: failure() && steps.build.outcome == 'success'
24*f0865ec9SKyle Evans      with:
25*f0865ec9SKyle Evans        name: artifacts
26*f0865ec9SKyle Evans        path: ./out/artifacts
27