mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Update build.yml
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -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 .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user