Skip to content

Commit 49edaae

Browse files
committed
Run CTest on Windows only for static build
1 parent 8b8ea5d commit 49edaae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
toolchain:
4646
- linux-gcc
4747
- macos-clang
48-
- windows-msvc
48+
- windows-msvc-static
4949

5050
configuration:
5151
- Release
@@ -59,7 +59,7 @@ jobs:
5959
os: macos-latest
6060
compiler: clang
6161

62-
- toolchain: windows-msvc
62+
- toolchain: windows-msvc-static
6363
os: windows-latest
6464
compiler: msvc
6565

@@ -70,7 +70,7 @@ jobs:
7070
- name: Configure (${{ matrix.configuration }})
7171
run: |
7272
if [ "${{ matrix.compiler }}" == "msvc" ]; then
73-
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"
73+
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
7474
else
7575
cmake -S . -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -DCMAKE_UNITY_BUILD=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -DBUILD_TESTING=ON
7676
fi

0 commit comments

Comments
 (0)