Skip to content

Commit a6ada3f

Browse files
committed
libxml2 with package manager
1 parent 8cfdf3f commit a6ada3f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release-binaries.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
dotnet tool install --global wix
245245
246246
- name: Install libxml2 for Windows
247-
if: runner.os == 'Windows'
247+
if: runner.os == 'Windows' && false
248248
run: |
249249
# Build libxml2 for windows
250250
curl -O https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.9.12/libxml2-v2.9.12.tar.gz
@@ -267,6 +267,10 @@ jobs:
267267
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
268268
ninja -v -C libxml-build install
269269
270+
- name: Install libxml2
271+
run: |
272+
vcpkg libxml2
273+
270274
- name: Configure
271275
id: build
272276
shell: bash
@@ -278,7 +282,6 @@ jobs:
278282
-C clang/cmake/caches/Release.cmake \
279283
-DCMAKE_CXX_FLAGS=-DLIBXML_STATIC \
280284
-DCMAKE_C_FLAGS=-DLIBXML_STATIC \
281-
-DCMAKE_PREFIX_PATH=/s/libxml-install \
282285
-DBOOTSTRAP_BOOTSTRAP_CPACK_PACKAGE_FILE_NAME="${{ needs.prepare.outputs.release-binary-basename }}"
283286
284287
- name: Build

0 commit comments

Comments
 (0)