cifuzz.yml 840 B

1234567891011121314151617181920212223242526272829303132
  1. name: CIFuzz
  2. on: [pull_request]
  3. permissions:
  4. contents: read
  5. jobs:
  6. Fuzzing:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Build fuzzers
  10. id: build
  11. uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@92182553173581f871130c71c71b17f003d47b0a
  12. with:
  13. oss-fuzz-project-name: 'fmt'
  14. dry-run: false
  15. language: c++
  16. - name: Run fuzzers
  17. uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@92182553173581f871130c71c71b17f003d47b0a
  18. with:
  19. oss-fuzz-project-name: 'fmt'
  20. fuzz-seconds: 300
  21. dry-run: false
  22. language: c++
  23. - name: Upload crash
  24. uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
  25. if: failure() && steps.build.outcome == 'success'
  26. with:
  27. name: artifacts
  28. path: ./out/artifacts