Update build.yml

This commit is contained in:
Jay Lee
2021-12-23 08:19:11 -05:00
committed by GitHub
parent 427672065e
commit ce1e880ed0

View File

@@ -180,18 +180,30 @@ jobs:
$pip install --upgrade pip $pipoptions $pip install --upgrade pip $pipoptions
$pip install wheel $pipoptions $pip install wheel $pipoptions
- name: Install PyInstaller - name: Windows Install PyInstaller
if: matrix.goal != 'test' if: matrix.goal != 'test' ^^ matrix.gamos == 'windows'
shell: powershell
run: |
git clone https://github.com/pyinstaller/pyinstaller.git
cd pyinstaller
Remove-Item PyInstaler\bootloader\*\*
cd bootloader
python3 ./waf all
cd ..
python3 -m pip install .
- name: Mac/Linux Install PyInstaller
if: matrix.goal != 'test' && matrix.gamos != 'windows'
run: | run: |
git clone https://github.com/pyinstaller/pyinstaller.git git clone https://github.com/pyinstaller/pyinstaller.git
cd pyinstaller cd pyinstaller
# remove pre-compiled bootloaders so we fail if bootloader compile fails # remove pre-compiled bootloaders so we fail if bootloader compile fails
#rm -rf PyInstaller/bootloader/*/* rm -rf PyInstaller/bootloader/*/*
cd bootloader cd bootloader
if [ "${PLATFORM}" == "x86" ]; then if [ "${PLATFORM}" == "x86" ]; then
TARGETARCH="--target-arch=32bit" TARGETARCH="--target-arch=32bit"
fi fi
#$python ./waf all $TARGETARCH $python ./waf all $TARGETARCH
cd .. cd ..
$pip install . $pip install .