blob: 89b7bbddd9d1a3216db1f5e704a7f32bf0a5d272 [file] [log] [blame]
David Korczynskif95b7302022-11-17 16:44:31 -08001name: CIFuzz
2on: [pull_request]
3jobs:
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: 'libyang'
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: 'libyang'
17 fuzz-seconds: 300
18 dry-run: false
19 - name: Upload Crash
20 uses: actions/upload-artifact@v3
21 if: failure() && steps.build.outcome == 'success'
22 with:
23 name: artifacts
24 path: ./out/artifacts