fuzz.yml 910 B

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