From faa645cb9764284a28a3500247bb6084aba45868 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 22 Dec 2021 18:59:29 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1887fe6..01ef0535 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -187,25 +187,20 @@ jobs: $pip install wheel $pipoptions - name: Install PyInstaller - if: matrix.gamos != 'windows' && matrix.goal != 'test' + if: matrix.goal != 'test' run: | export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_VERSION}" echo "Downloading ${url}" curl -o pyinstaller.tar.gz --compressed "${url}" tar xf pyinstaller.tar.gz cd "pyinstaller-${PYINSTALLER_VERSION}/" - if [ $GAMOS != "linux" ]; then - # remove pre-compiled bootloaders so we fail if bootloader compile fails - rm -rf PyInstaller/bootloader/*bit - cd bootloader - if [ "${PLATFORM}" == "x86" ]; then - TARGETARCH="--target-arch=32bit" - else - TARGETARCH="" - fi - $python ./waf all $TARGETARCH - cd .. - fi + # remove pre-compiled bootloaders so we fail if bootloader compile fails + rm -rf PyInstaller/bootloader/*/* + cd bootloader + if [ "${PLATFORM}" == "x86" ]; then + TARGETARCH="--target-arch=32bit" + $python ./waf all $TARGETARCH + cd .. $pip install . - name: Install pip requirements