cifuzz.yml 901 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: CIFuzz
  2. on:
  3. push:
  4. branches:
  5. - master
  6. paths:
  7. - '**.c'
  8. - '**.h'
  9. pull_request:
  10. branches:
  11. - master
  12. paths:
  13. - '**.c'
  14. - '**.h'
  15. jobs:
  16. Fuzzing:
  17. runs-on: ubuntu-latest
  18. steps:
  19. - name: Build Fuzzers
  20. id: build
  21. uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
  22. with:
  23. oss-fuzz-project-name: 'nanopb'
  24. dry-run: false
  25. sanitizer: undefined
  26. - name: Run Fuzzers
  27. uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
  28. with:
  29. oss-fuzz-project-name: 'nanopb'
  30. fuzz-seconds: 600
  31. dry-run: false
  32. sanitizer: undefined
  33. - name: Upload Crash
  34. uses: actions/upload-artifact@v1
  35. if: failure() && steps.build.outcome == 'success'
  36. with:
  37. name: artifacts
  38. path: ./out/artifacts