Skip to content

Commit 22ee224

Browse files
update client only test case for TLS
1 parent 0272216 commit 22ee224

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-and-test-clientonly.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
kill $TCP_SERVER_PID || true
6363
cd examples/posix/wh_posix_server
6464
rm -f *.bin || true
65-
./Build/wh_posix_server.elf &
65+
./Build/wh_posix_server.elf --type ${{ matrix.transport }} &
6666
TCP_SERVER_PID=$!
6767
echo "TCP_SERVER_PID=$TCP_SERVER_PID" >> $GITHUB_ENV
6868
sleep 2
@@ -72,7 +72,11 @@ jobs:
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

0 commit comments

Comments
 (0)