add support for ED25519 signature scheme #611
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Test Client-Only | |
| on: | |
| push: | |
| branches: [ 'master', 'main', 'release/**' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # List host CPU info | |
| - name: Host CPU info | |
| run: cat /proc/cpuinfo | |
| # List compiler version | |
| - name: List compiler version | |
| run: gcc --version | |
| # pull and build wolfssl | |
| - name: Checkout wolfssl | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: wolfssl/wolfssl | |
| path: wolfssl | |
| # Build example server | |
| - name: Build POSIX server | |
| run: | | |
| cd examples/posix/wh_posix_server | |
| make -j SHE=1 WOLFSSL_DIR=../../../wolfssl | |
| # Start the server in the background | |
| - name: Run POSIX server | |
| run: | | |
| cd examples/posix/wh_posix_server | |
| ./Build/wh_posix_server.elf & | |
| TCP_SERVER_PID=$! | |
| echo "TCP_SERVER_PID=$TCP_SERVER_PID" >> $GITHUB_ENV | |
| # Build and test client-only build with everything enabled and ASAN | |
| - name: Build client-only unit tests with ASAN | |
| run: | | |
| cd test | |
| make clean | |
| make -j CLIENT_ONLY_TCP=1 SHE=1 ASAN=1 WOLFSSL_DIR=../wolfssl && make run | |
| # Restart server with fresh state for second test run | |
| - name: Restart POSIX server | |
| run: | | |
| kill $TCP_SERVER_PID || true | |
| cd examples/posix/wh_posix_server | |
| rm -f *.bin || true | |
| ./Build/wh_posix_server.elf & | |
| TCP_SERVER_PID=$! | |
| echo "TCP_SERVER_PID=$TCP_SERVER_PID" >> $GITHUB_ENV | |
| sleep 2 | |
| # Build and test client-only with DEBUG_VERBOSE=1 (includes DEBUG) | |
| - name: Build client-only unit tests with DEBUG_VERBOSE | |
| run: | | |
| cd test | |
| make clean | |
| make -j CLIENT_ONLY_TCP=1 SHE=1 DEBUG_VERBOSE=1 WOLFSSL_DIR=../wolfssl && make run | |
| # Optional: Kill the server process if it doesn't exit on its own | |
| - name: Cleanup POSIX TCP server | |
| if: always() | |
| run: kill $TCP_SERVER_PID || true | |