From 1c74e37c384d399b44c4309307b90c9a90969b79 Mon Sep 17 00:00:00 2001 From: sdixon Date: Wed, 8 May 2024 23:32:20 +0100 Subject: [PATCH] breaking windows build into multiple CI steps for build_wheel.yml --- .github/workflows/build_wheels.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index ff31cf4c..6bf95ce1 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -46,10 +46,8 @@ jobs: platforms: all - - name: build uda on windows + - name: install windows deps if: runner.os == 'Windows' - env: - XDR_ROOT: extlib/install run: > vcpkg install --triplet x64-mingw-static --binarysource="clear;x-gha,readwrite" libxml2 @@ -61,7 +59,13 @@ jobs: openssl dlfcn-win32 spdlog - && cmake -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -B extlib/build -G "MinGW Makefiles" ./extlib + + - name: build uda on windows + if: runner.os == 'Windows' + env: + XDR_ROOT: extlib/install + run: > + 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 && cmake -G "MinGW Makefiles" -B build . @@ -71,6 +75,7 @@ jobs: -DSSLAUTHENTICATION=OFF -DCLIENT_ONLY=ON -DENABLE_CAPNP=ON + -DNO_JAVA_WRAPPER=ON -DCMAKE_INSTALL_PREFIX=$PWD/install && cmake --build build -j --config Release && cmake --install --prefix install --config Release