Skip to content

Commit 8c92d73

Browse files
committed
fixup! ci: Migrate CI scripts to CMake
Switch back to static build for the "Win64 native" job.
1 parent 9eee188 commit 8c92d73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ jobs:
171171
run: |
172172
Set-Location "$env:VCPKG_INSTALLATION_ROOT"
173173
Add-Content -Path "triplets\x64-windows.cmake" -Value "set(VCPKG_BUILD_TYPE release)"
174+
Add-Content -Path "triplets\x64-windows-static.cmake" -Value "set(VCPKG_BUILD_TYPE release)"
174175
175176
- name: vcpkg tools cache
176177
uses: actions/cache@v4
@@ -187,7 +188,7 @@ jobs:
187188

188189
- name: Generate build system
189190
run: |
190-
cmake -B build --preset vs2022 -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON
191+
cmake -B build --preset vs2022-static -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON
191192
192193
- name: Save vcpkg binary cache
193194
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)