Skip to content

Commit cfe63c3

Browse files
committed
Client only CI action: And cleant up step
1 parent 9748aa4 commit cfe63c3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ jobs:
5050
make clean
5151
make -j CLIENT_ONLY_TCP=1 SHE=1 ASAN=1 WOLFSSL_DIR=../wolfssl && make run
5252
53+
# Restart server with fresh state for second test run
54+
- name: Restart POSIX server
55+
run: |
56+
kill $TCP_SERVER_PID || true
57+
cd examples/posix/wh_posix_server
58+
rm -f *.bin || true
59+
./Build/wh_posix_server.elf &
60+
TCP_SERVER_PID=$!
61+
echo "TCP_SERVER_PID=$TCP_SERVER_PID" >> $GITHUB_ENV
62+
sleep 2
63+
5364
# Build and test client-only with DEBUG_VERBOSE=1 (includes DEBUG)
5465
- name: Build client-only unit tests with DEBUG_VERBOSE
5566
run: |

0 commit comments

Comments
 (0)