From 49edaaef05c7981bfc002d1499862dc16ccd6b90 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Sat, 9 Mar 2024 15:56:40 +0100 Subject: [PATCH] Run CTest on Windows only for static build --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d70a6c..1731035 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,7 +45,7 @@ jobs: toolchain: - linux-gcc - macos-clang - - windows-msvc + - windows-msvc-static configuration: - Release @@ -59,7 +59,7 @@ jobs: os: macos-latest compiler: clang - - toolchain: windows-msvc + - toolchain: windows-msvc-static os: windows-latest compiler: msvc @@ -70,7 +70,7 @@ jobs: - name: Configure (${{ matrix.configuration }}) run: | if [ "${{ matrix.compiler }}" == "msvc" ]; then - cmake -S . -Bbuild -DCMAKE_UNITY_BUILD=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -DBUILD_TESTING=ON -DBASH_EXECUTABLE="C:/Program Files/Git/bin/bash.exe" + cmake -S . -Bbuild -DCMAKE_UNITY_BUILD=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -DBUILD_TESTING=ON -DBASH_EXECUTABLE="C:/Program Files/Git/bin/bash.exe" -DBUILD_SHARED_LIBS=OFF else cmake -S . -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -DCMAKE_UNITY_BUILD=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -DBUILD_TESTING=ON fi