cifuzz.yaml 817 B

1234567891011121314151617181920212223242526272829303132
  1. name: CIFuzz
  2. on: [pull_request]
  3. concurrency:
  4. group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
  5. cancel-in-progress: true
  6. jobs:
  7. Fuzzing:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Build Fuzzers
  11. id: build
  12. uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
  13. with:
  14. oss-fuzz-project-name: 'cpp-httplib'
  15. dry-run: false
  16. language: c++
  17. - name: Run Fuzzers
  18. uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
  19. with:
  20. oss-fuzz-project-name: 'cpp-httplib'
  21. fuzz-seconds: 600
  22. dry-run: false
  23. language: c++
  24. - name: Upload Crash
  25. uses: actions/upload-artifact@v4
  26. if: failure() && steps.build.outcome == 'success'
  27. with:
  28. name: artifacts
  29. path: ./out/artifacts