From 2cbe198497f22b3843d9bc2853292ab210e642a0 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sun, 5 Apr 2020 12:39:19 -0700 Subject: [PATCH] try to run the unittest --- .github/workflows/ccpp.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 66218e03..744bd878 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -37,19 +37,33 @@ jobs: - name: make test run: make test_tsan_mbedtls - windows_mbedtls: + windows_no_tls: runs-on: windows-latest steps: - uses: actions/checkout@v1 - uses: seanmiddleditch/gha-setup-vsdevenv@master - - run: | - vcpkg install zlib:x64-windows - vcpkg install mbedtls:x64-windows - run: | mkdir build cd build - cmake -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_MBED_TLS=1 -DUSE_TLS=1 -DUSE_WS=1 -DUSE_TEST=1 .. + cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_TEST=1 .. - run: cmake --build build + - run: | + cd test + ..\build\test\ixwebsocket_unittest.exe + + # windows_mbedtls: + # runs-on: windows-latest + # steps: + # - uses: actions/checkout@v1 + # - uses: seanmiddleditch/gha-setup-vsdevenv@master + # - run: | + # vcpkg install zlib:x64-windows + # vcpkg install mbedtls:x64-windows + # - run: | + # mkdir build + # cd build + # cmake -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_MBED_TLS=1 -DUSE_TLS=1 -DUSE_WS=1 -DUSE_TEST=1 .. + # - run: cmake --build build # Running the unittest does not work, the binary cannot be found #- run: ../build/test/ixwebsocket_unittest.exe