Skip to content

Commit e4a58ee

Browse files
committed
Try to install static vcpkg
1 parent b14f22f commit e4a58ee

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release-binaries.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,12 @@ jobs:
7878
VCPKG_CMAKE_CONFIGURE_OPTIONS: -DBUILD_SHARED_LIBS=OFF
7979
VCPKG_ENV_PASSTHROUGH: 1
8080
run: |
81-
vcpkg --debug install libxml2:x64-windows-static
81+
mkdir custom-triplets
82+
cp vcpkg/triples/x64-windows-static.cmake custom-triplets/x64-windows-static-release.cmake
83+
cat custom-triplets/x64-windows-static-release.cmake
84+
echo "set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DBUILD_SHARED_LIBS=OFF)" >> custom-triplets/x64-windows-static-release.cmake
85+
echo "set(VCPKG_BUILD_TYPE release)" >> custom-triplets/x64-windows-static-release.cmake
86+
vcpkg --debug install libxml2:x64-windows-static-release --overlay-triplets=custom-triplets
8287
find /c/vcpkg -iname 'libxml*.lib'
8388
8489
- name: Checkout LLVM
@@ -168,7 +173,7 @@ jobs:
168173
echo "target-cmake-flags=$target_cmake_flags" >> $GITHUB_OUTPUT
169174
case "${{ inputs.runs-on }}" in
170175
ubuntu-22.04*|windows-2022)
171-
build_runs_on="depot-${{ inputs.runs-on }}"
176+
build_runs_on="depot-${{ inputs.runs-on }}-16"
172177
test_runs_on=$build_runs_on
173178
;;
174179
macos-13)

0 commit comments

Comments
 (0)