fuzz.yml 770 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: Fuzzer
  2. on:
  3. # Trigger the workflow on push or pull requests, but only for the
  4. # master branch
  5. push:
  6. branches:
  7. - master
  8. - '*/ci'
  9. pull_request:
  10. branches:
  11. - master
  12. jobs:
  13. fuzzing:
  14. runs-on: ubuntu-latest
  15. steps:
  16. - name: Build Fuzzers
  17. uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
  18. with:
  19. oss-fuzz-project-name: 'curl'
  20. dry-run: false
  21. - name: Run Fuzzers
  22. uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
  23. with:
  24. oss-fuzz-project-name: 'curl'
  25. fuzz-seconds: 2400
  26. dry-run: false
  27. - name: Upload Crash
  28. uses: actions/upload-artifact@v1
  29. if: failure()
  30. with:
  31. name: artifacts
  32. path: ./out/artifacts