cifuzz.yml 887 B

12345678910111213141516171819202122232425262728293031323334
  1. name: CIFuzz
  2. on:
  3. pull_request:
  4. branches: [ "master" ]
  5. schedule:
  6. - cron: "30 0 * * *"
  7. # Allows you to run this workflow manually from the Actions tab
  8. workflow_dispatch:
  9. jobs:
  10. Fuzzing:
  11. runs-on: ubuntu-latest
  12. permissions:
  13. contents: read
  14. steps:
  15. - name: Build Fuzzers
  16. id: build
  17. uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
  18. with:
  19. oss-fuzz-project-name: 'kamailio'
  20. dry-run: false
  21. language: c
  22. - name: Run Fuzzers
  23. uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
  24. with:
  25. oss-fuzz-project-name: 'kamailio'
  26. fuzz-seconds: 600
  27. dry-run: false
  28. language: c
  29. - name: Upload Crash
  30. uses: actions/upload-artifact@v4
  31. if: failure() && steps.build.outcome == 'success'
  32. with:
  33. name: artifacts
  34. path: ./out/artifacts