From 88b6f5dd089c949f4b1de2e368a94cc659892f94 Mon Sep 17 00:00:00 2001 From: Oleg Alexandrov Date: Sat, 30 Sep 2023 11:54:20 -0700 Subject: [PATCH] Turn off Windows build, tune the Linux build --- .github/workflows/windows_conda_build.yml | 11 +++++++---- recipe/build.sh | 6 +++++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows_conda_build.yml b/.github/workflows/windows_conda_build.yml index e4faf12..95e9e71 100644 --- a/.github/workflows/windows_conda_build.yml +++ b/.github/workflows/windows_conda_build.yml @@ -1,10 +1,13 @@ name: WindowsCondaBuild +# Run this manually till it is figured out why it fails on push. on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] + workflow_dispatch: + +# push: +# branches: [ "master" ] +# pull_request: +# branches: [ "master" ] # The windows build complains about the default PATH being too long. Trying to set # the path here, but whatever is being tried it fails. TBD. diff --git a/recipe/build.sh b/recipe/build.sh index c049a42..c3af70f 100755 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -1,5 +1,9 @@ #!/bin/bash -qmake polyview.pro +qmake \ + QMAKE_CC=$CC_FOR_BUILD \ + QMAKE_CXX=$CXX_FOR_BUILD \ + QMAKE_LINK=$CXX_FOR_BUILD \ + polyview.pro make -j${CPU_COUNT} make install INSTALL_ROOT=$PREFIX