2
0

gencertbuf.yml 989 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. name: Test gencertbuf script
  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. gencertbuf:
  14. name: gencertbuf
  15. if: github.repository_owner == 'wolfssl'
  16. runs-on: ubuntu-latest
  17. # This should be a safe limit for the tests to run.
  18. timeout-minutes: 6
  19. steps:
  20. - uses: actions/checkout@v4
  21. name: Checkout wolfSSL
  22. - name: Test generate wolfssl/certs_test.h
  23. run: ./gencertbuf.pl
  24. - name: Test wolfSSL
  25. run: |
  26. ./autogen.sh
  27. ./configure --enable-all --enable-experimental --enable-dilithium --enable-kyber
  28. make
  29. ./wolfcrypt/test/testwolfcrypt
  30. - name: Print errors
  31. if: ${{ failure() }}
  32. run: |
  33. if [ -f test-suite.log ] ; then
  34. cat test-suite.log
  35. fi