From 05890810f662fc9ec0107c26a7451dab009a4cd2 Mon Sep 17 00:00:00 2001 From: Nils Schimmelmann Date: Fri, 28 Jul 2023 14:28:58 -0700 Subject: [PATCH] switch to Ninja build for Windows MSVC --- .github/workflows/build-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index f994b5d1..8fcda666 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -107,7 +107,7 @@ jobs: dir: 'C:\' arch: win64_msvc2019_64 cache: true - tools: 'tools_openssl_x64' + tools: 'tools_openssl_x64,tools_ninja' @@ -122,7 +122,7 @@ jobs: mkdir -p build cd build cmake --version - cmake -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" -DCPACK_PACKAGE_DIRECTORY=${{ github.workspace }}/artifact -DUSE_UNITY_BUILD=false -DCMAKE_PREFIX_PATH="C:\Qt\5.12.2\msvc2019_64" -DOPENSSL_ROOT_DIR=C:/Qt/Tools/OpenSSL/Win_x64 -S .. || exit -1 + cmake -DCMAKE_BUILD_TYPE=Debug -G "Ninja" -DCPACK_PACKAGE_DIRECTORY=${{ github.workspace }}/artifact -DUSE_UNITY_BUILD=false -DCMAKE_PREFIX_PATH="C:\Qt\5.12.2\msvc2019_64" -DOPENSSL_ROOT_DIR=C:/Qt/Tools/OpenSSL/Win_x64 -S .. || exit -1 cmake --build . -j %NUMBER_OF_PROCESSORS% - if: runner.os == 'Linux' || runner.os == 'macOS' name: Build MMapper for Linux and Mac