github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/.github/workflows/oss-fuzz.yml (about) 1 # Copyright 2020 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 name: oss-fuzz 5 on: [pull_request] 6 jobs: 7 Fuzzing: 8 runs-on: ubuntu-latest 9 steps: 10 - name: Build Fuzzers 11 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master 12 with: 13 oss-fuzz-project-name: 'syzkaller' 14 language: go 15 - name: Run Fuzzers 16 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master 17 with: 18 oss-fuzz-project-name: 'syzkaller' 19 fuzz-seconds: 300 20 language: go 21 output-sarif: true 22 - name: Upload Crash 23 uses: actions/upload-artifact@v3 24 if: failure() && steps.build.outcome == 'success' 25 with: 26 name: artifacts 27 path: ./out/artifacts 28 - name: Upload Sarif 29 if: always() && steps.build.outcome == 'success' 30 uses: github/codeql-action/upload-sarif@v2 31 with: 32 # Path to SARIF file relative to the root of the repository 33 sarif_file: cifuzz-sarif/results.sarif 34 checkout_path: cifuzz-sarif