Skip to content

Commit

Permalink
breaking windows build into multiple CI steps for build_wheel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-dixon committed May 8, 2024
1 parent 771d445 commit 1c74e37
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
Expand All @@ -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
Expand Down

0 comments on commit 1c74e37

Please sign in to comment.