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:
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@@ -187,25 +187,20 @@ jobs:
|
|||||||
$pip install wheel $pipoptions
|
$pip install wheel $pipoptions
|
||||||
|
|
||||||
- name: Install PyInstaller
|
- name: Install PyInstaller
|
||||||
if: matrix.gamos != 'windows' && matrix.goal != 'test'
|
if: matrix.goal != 'test'
|
||||||
run: |
|
run: |
|
||||||
export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_VERSION}"
|
export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_VERSION}"
|
||||||
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}/"
|
cd "pyinstaller-${PYINSTALLER_VERSION}/"
|
||||||
if [ $GAMOS != "linux" ]; then
|
# 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/*bit
|
cd bootloader
|
||||||
cd bootloader
|
if [ "${PLATFORM}" == "x86" ]; then
|
||||||
if [ "${PLATFORM}" == "x86" ]; then
|
TARGETARCH="--target-arch=32bit"
|
||||||
TARGETARCH="--target-arch=32bit"
|
$python ./waf all $TARGETARCH
|
||||||
else
|
cd ..
|
||||||
TARGETARCH=""
|
|
||||||
fi
|
|
||||||
$python ./waf all $TARGETARCH
|
|
||||||
cd ..
|
|
||||||
fi
|
|
||||||
$pip install .
|
$pip install .
|
||||||
|
|
||||||
- name: Install pip requirements
|
- name: Install pip requirements
|
||||||
|
|||||||
Reference in New Issue
Block a user