From 8b8889148d8c7c5a5cb90bb43dc76bc828e35fac Mon Sep 17 00:00:00 2001 From: sdixon Date: Wed, 8 May 2024 22:57:56 +0100 Subject: [PATCH] fixing typo in windows uda build and adding release only option to vcpkg triplet --- .github/workflows/build_wheels.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 0c2b7dd9..3100a132 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -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 @@ -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