fuzz.yml 869 B

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