main.yml 959 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License 2.0 (the "License"). You may not use
  4. # this file except in compliance with the License. You can obtain a copy
  5. # in the file LICENSE in the source distribution or at
  6. # https://www.openssl.org/source/license.html
  7. name: CIFuzz
  8. on: [pull_request, push]
  9. permissions:
  10. contents: read
  11. jobs:
  12. Fuzzing:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - name: Build Fuzzers
  16. uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
  17. with:
  18. oss-fuzz-project-name: 'openssl'
  19. dry-run: false
  20. - name: Run Fuzzers
  21. uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
  22. with:
  23. oss-fuzz-project-name: 'openssl'
  24. fuzz-seconds: 600
  25. dry-run: false
  26. - name: Upload Crash
  27. uses: actions/upload-artifact@v3
  28. if: failure()
  29. with:
  30. name: artifacts
  31. path: ./out/artifacts