async.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. runs-on: ubuntu-latest
  24. # This should be a safe limit for the tests to run.
  25. timeout-minutes: 6
  26. steps:
  27. - uses: actions/checkout@v4
  28. name: Checkout wolfSSL
  29. - name: Test wolfSSL async
  30. run: |
  31. ./async-check.sh install
  32. ./configure ${{ matrix.config }}
  33. make check
  34. - name: Print errors
  35. if: ${{ failure() }}
  36. run: |
  37. if [ -f test-suite.log ] ; then
  38. cat test-suite.log
  39. fi