File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -59,20 +59,24 @@ jobs:
5959 # Restart server with fresh state for second test run
6060 - name : Restart POSIX server
6161 run : |
62- kill $TCP_SERVER_PID || true
62+ kill $SERVER_PID || true
6363 cd examples/posix/wh_posix_server
6464 rm -f *.bin || true
65- ./Build/wh_posix_server.elf &
66- TCP_SERVER_PID =$!
67- echo "TCP_SERVER_PID=$TCP_SERVER_PID " >> $GITHUB_ENV
65+ ./Build/wh_posix_server.elf --type ${{ matrix.transport }} &
66+ SERVER_PID =$!
67+ echo "SERVER_PID=$SERVER_PID " >> $GITHUB_ENV
6868 sleep 2
6969
7070 # Build and test client-only with DEBUG_VERBOSE=1 (includes DEBUG)
7171 - name : Build client-only unit tests with DEBUG_VERBOSE
7272 run : |
7373 cd test
7474 make clean
75- make -j CLIENT_ONLY_TCP=1 SHE=1 DEBUG_VERBOSE=1 WOLFSSL_DIR=../wolfssl && make run
75+ if [ "${{ matrix.transport }}" = "tcp" ]; then
76+ make -j CLIENT_ONLY_TCP=1 SHE=1 DEBUG_VERBOSE=1 WOLFSSL_DIR=../wolfssl && make run
77+ else
78+ make -j CLIENT_ONLY_TLS=1 SHE=1 DEBUG_VERBOSE=1 WOLFSSL_DIR=../wolfssl && make run
79+ fi
7680
7781 # Optional: Kill the server process if it doesn't exit on its own
7882 - name : Cleanup POSIX server
You can’t perform that action at this time.
0 commit comments