Update build.yml

This commit is contained in:
Jay Lee
2021-06-17 14:29:38 -04:00
committed by GitHub
parent 83fbf0e8ac
commit b060664c9f

View File

@ -158,16 +158,18 @@ jobs:
echo "Downloading ${url}" echo "Downloading ${url}"
curl -o pyinstaller.tar.gz --compressed "${url}" curl -o pyinstaller.tar.gz --compressed "${url}"
tar xf pyinstaller.tar.gz tar xf pyinstaller.tar.gz
cd "pyinstaller-${PYINSTALLER_VERSION}/bootloader" cd "pyinstaller-${PYINSTALLER_VERSION}/"
# remove pre-compiled bootloaders so we fail if bootloader compile fails if [ $GAMOS == "windows" ]; then
rm -rf ../PyInstaller/bootloader/*bit # remove pre-compiled bootloaders so we fail if bootloader compile fails
if [ "${PLATFORM}" == "x86" ]; then rm -rf ../PyInstaller/bootloader/*bit
TARGETARCH="--target-arch=32bit" if [ "${PLATFORM}" == "x86" ]; then
else TARGETARCH="--target-arch=32bit"
TARGETARCH="" else
TARGETARCH=""
fi
$python ./waf all $TARGETARCH
cd ..
fi fi
$python ./waf all $TARGETARCH
cd ..
$python setup.py install $python setup.py install
#$pip install pyinstaller #$pip install pyinstaller