Skip to content

Commit

Permalink
fixing typo in windows uda build and adding release only option to vc…
Browse files Browse the repository at this point in the history
…pkg triplet
  • Loading branch information
stephen-dixon committed May 8, 2024
1 parent 992ac4f commit 8b88891
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: build uda on windows
if: runner.os == 'Windows'
run: >
vcpkg install --triplet x64-mingw-static --binarysource="clear;x-gha,readwrite"
vcpkg install --triplet x64-mingw-static+VCPKG_RELEASE_ONLY --binarysource="clear;x-gha,readwrite"
libxml2
capnproto
boost-program-options
Expand All @@ -62,7 +62,8 @@ jobs:
&& cmake -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -B extlib/build -G "MinGW Makefiles" ./extlib
&& cmake --build extlib/build
&& cmake --install extlib/build --prefix extlib/install
&& XDR_ROOT=extlib/install cmake -G "MinGW Makefiles" -B build
&& $Env:XDR_ROOT="$PWD/extlib/install"
&& cmake -G "MinGW Makefiles" -B build
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
-DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release
Expand Down

0 comments on commit 8b88891

Please sign in to comment.