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