1
0

no-malloc.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. name: No Malloc 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-rsa --enable-keygen --disable-dh CFLAGS="-DWOLFSSL_NO_MALLOC -DRSA_MIN_SIZE=1024"',
  19. ]
  20. name: make check
  21. if: github.repository_owner == 'wolfssl'
  22. runs-on: ubuntu-latest
  23. # This should be a safe limit for the tests to run.
  24. timeout-minutes: 6
  25. steps:
  26. - uses: actions/checkout@v4
  27. name: Checkout wolfSSL
  28. - name: Test wolfSSL
  29. run: |
  30. ./autogen.sh
  31. ./configure ${{ matrix.config }}
  32. make
  33. ./wolfcrypt/test/testwolfcrypt
  34. - name: Print errors
  35. if: ${{ failure() }}
  36. run: |
  37. if [ -f test-suite.log ] ; then
  38. cat test-suite.log
  39. fi