no-malloc.yml 765 B

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