1# A quick CIFuzz sanity check. Fuzzing time is kept low provide fast feedback 2# on PRs; fuzz.yml schedules a daily long-running fuzzing job. 3name: CIFuzz PR check 4on: [pull_request] 5jobs: 6 Fuzzing: 7 runs-on: ubuntu-latest 8 steps: 9 - name: Build Fuzzers 10 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master 11 with: 12 oss-fuzz-project-name: 'libcbor' 13 dry-run: false 14 - name: Smoke Test Fuzzers 15 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master 16 with: 17 oss-fuzz-project-name: 'libcbor' 18 fuzz-seconds: 10 19 dry-run: false 20 - name: Upload Crash 21 uses: actions/upload-artifact@v1 22 if: failure() 23 with: 24 name: artifacts 25 path: ./out/artifacts 26