run-checker-daily-sctp.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Copyright 2022 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: Run-checker CI daily sctp
  8. on:
  9. schedule:
  10. - cron: '0 6 * * *'
  11. permissions:
  12. contents: read
  13. jobs:
  14. run-checker:
  15. runs-on: ubuntu-latest
  16. steps:
  17. - uses: actions/checkout@v3
  18. - name: checkout fuzz/corpora submodule
  19. run: git submodule update --init --depth 1 fuzz/corpora
  20. - name: Install Dependencies for sctp option
  21. run: |
  22. sudo apt-get update
  23. sudo apt-get -yq install lksctp-tools libsctp-dev
  24. - name: Check SCTP and enable auth
  25. id: sctp_auth
  26. continue-on-error: true
  27. run: |
  28. checksctp
  29. sudo sysctl -w net.sctp.auth_enable=1
  30. - name: config
  31. if: steps.sctp_auth.outcome == 'success' && steps.sctp_auth.conclusion == 'success'
  32. run: CC=clang ./config --banner=Configured --strict-warnings enable-sctp
  33. - name: config dump
  34. if: steps.sctp_auth.outcome == 'success' && steps.sctp_auth.conclusion == 'success'
  35. run: ./configdata.pm --dump
  36. - name: make
  37. if: steps.sctp_auth.outcome == 'success' && steps.sctp_auth.conclusion == 'success'
  38. run: make -s -j4
  39. - name: make test
  40. if: steps.sctp_auth.outcome == 'success' && steps.sctp_auth.conclusion == 'success'
  41. run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}