async.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. name: Async Tests
  2. # START OF COMMON SECTION
  3. on:
  4. push:
  5. branches: [ 'master', 'main', 'release/**' ]
  6. pull_request:
  7. branches: [ '*' ]
  8. concurrency:
  9. group: ${{ github.workflow }}-${{ github.ref }}
  10. cancel-in-progress: true
  11. # END OF COMMON SECTION
  12. jobs:
  13. make_check:
  14. strategy:
  15. matrix:
  16. config: [
  17. # Add new configs here
  18. '--enable-asynccrypt --enable-all --enable-dtls13',
  19. '--enable-asynccrypt-sw --enable-ocspstapling --enable-ocspstapling2',
  20. '--enable-ocsp CFLAGS="-DTEST_NONBLOCK_CERTS"',
  21. ]
  22. name: make check
  23. if: github.repository_owner == 'wolfssl'
  24. runs-on: ubuntu-latest
  25. # This should be a safe limit for the tests to run.
  26. timeout-minutes: 6
  27. steps:
  28. - uses: actions/checkout@v4
  29. name: Checkout wolfSSL
  30. - name: Test wolfSSL async
  31. run: |
  32. ./async-check.sh install
  33. ./configure ${{ matrix.config }}
  34. make check
  35. - name: Print errors
  36. if: ${{ failure() }}
  37. run: |
  38. if [ -f test-suite.log ] ; then
  39. cat test-suite.log
  40. fi