From 84163ad19e0d36e9966d7048451f2a1254fda12b Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sat, 26 Dec 2020 12:20:31 -0800 Subject: [PATCH] unittest for uwp --- .github/workflows/unittest_uwp.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittest_uwp.yml b/.github/workflows/unittest_uwp.yml index 28bbf528..a83c6631 100644 --- a/.github/workflows/unittest_uwp.yml +++ b/.github/workflows/unittest_uwp.yml @@ -10,11 +10,17 @@ jobs: steps: - uses: actions/checkout@v1 - uses: seanmiddleditch/gha-setup-vsdevenv@master + - uses: seanmiddleditch/gha-setup-ninja@master - run: | mkdir build cd build - cmake -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_CXX_COMPILER=cl.exe -DUSE_TEST=1 -DUSE_ZLIB=0 .. - - run: cmake --build build + cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_CXX_COMPILER=cl.exe -DCMAKE_C_COMPILER=cl.exe -DUSE_TEST=1 -DUSE_ZLIB=0 .. + - run: | + cd build + ninja + - run: | + cd build + ninja test # # Windows with OpenSSL is working but disabled as it takes 13 minutes (10 for openssl) to build with vcpkg