|
@@ -37,17 +37,17 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
mkdir cmake-build-win64
|
|
mkdir cmake-build-win64
|
|
|
cd cmake-build-win64
|
|
cd cmake-build-win64
|
|
|
- cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
|
- cmake --build . --config Debug
|
|
|
|
|
|
|
+ cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release
|
|
|
|
|
+ cmake --build . --config Release
|
|
|
cd ..
|
|
cd ..
|
|
|
|
|
|
|
|
- name: test
|
|
- name: test
|
|
|
run: |
|
|
run: |
|
|
|
cd cmake-build-win64
|
|
cd cmake-build-win64
|
|
|
- start bin/Debug/http_server_test
|
|
|
|
|
- bin/Debug/http_client_test
|
|
|
|
|
- bin/Debug/curl -v http://127.0.0.1:8080/ping
|
|
|
|
|
- bin/Debug/wrk -c 100 -t 2 -d 10s http://127.0.0.1:8080/ping
|
|
|
|
|
|
|
+ start bin/Release/http_server_test
|
|
|
|
|
+ bin/Release/http_client_test
|
|
|
|
|
+ bin/Release/curl -v http://127.0.0.1:8080/ping
|
|
|
|
|
+ bin/Release/wrk -c 100 -t 2 -d 10s http://127.0.0.1:8080/ping
|
|
|
|
|
|
|
|
build-apple:
|
|
build-apple:
|
|
|
name: build-apple
|
|
name: build-apple
|