ci: Switch to x64-windows-release triplet

This removes the need to patch vcpkg source code to skip debug builds
for dependencies.
This commit is contained in:
Hennadii Stepanov
2026-03-20 15:04:00 +00:00
parent 65882fa68f
commit 9aa5b3c3a3
2 changed files with 2 additions and 6 deletions

View File

@@ -71,8 +71,8 @@ def generate(ci_type):
"-B",
"build",
"-Werror=dev",
"--preset",
"vs2026",
"--preset=vs2026",
"-DVCPKG_TARGET_TRIPLET=x64-windows-release",
] + GENERATE_OPTIONS[ci_type]
if run(command, check=False).returncode != 0:
print("=== ⚠️ ===")

View File

@@ -253,10 +253,6 @@ jobs:
py -3 --version
bash --version
- name: Using vcpkg with MSBuild
run: |
echo "set(VCPKG_BUILD_TYPE release)" >> "${VCPKG_INSTALLATION_ROOT}/triplets/x64-windows.cmake"
- name: Set VCPKG_ROOT
run: |
echo "VCPKG_ROOT=${VCPKG_INSTALLATION_ROOT}" >> "$GITHUB_ENV"