2
0

async.yml 861 B

1234567891011121314151617181920212223242526272829303132333435
  1. name: Async Tests
  2. on:
  3. workflow_call:
  4. jobs:
  5. make_check:
  6. strategy:
  7. matrix:
  8. config: [
  9. # Add new configs here
  10. '--enable-asynccrypt --enable-all --enable-dtls13',
  11. '--enable-asynccrypt-sw --enable-ocspstapling --enable-ocspstapling2',
  12. '--enable-ocsp CFLAGS="-DTEST_NONBLOCK_CERTS"',
  13. ]
  14. name: make check
  15. runs-on: ubuntu-latest
  16. # This should be a safe limit for the tests to run.
  17. timeout-minutes: 6
  18. steps:
  19. - uses: actions/checkout@v4
  20. name: Checkout wolfSSL
  21. - name: Test wolfSSL async
  22. run: |
  23. ./async-check.sh install
  24. ./configure ${{ matrix.config }}
  25. make check
  26. - name: Print errors
  27. if: ${{ failure() }}
  28. run: |
  29. if [ -f test-suite.log ] ; then
  30. cat test-suite.log
  31. fi