mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
only set target arch on 32-bit Win
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -104,7 +104,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/python
|
~/python
|
||||||
~/ssl
|
~/ssl
|
||||||
key: ${{ matrix.os }}-${{ matrix.jid }}-20210504
|
key: ${{ matrix.os }}-${{ matrix.jid }}-20210511
|
||||||
|
|
||||||
- name: Set env variables
|
- name: Set env variables
|
||||||
env:
|
env:
|
||||||
@@ -159,11 +159,11 @@ jobs:
|
|||||||
tar xf pyinstaller.tar.gz
|
tar xf pyinstaller.tar.gz
|
||||||
cd "pyinstaller-${PYINSTALLER_VERSION}/bootloader"
|
cd "pyinstaller-${PYINSTALLER_VERSION}/bootloader"
|
||||||
if [ "${PLATFORM}" == "x86" ]; then
|
if [ "${PLATFORM}" == "x86" ]; then
|
||||||
BITS="32"
|
TARGETARCH="--target-arch=32bit"
|
||||||
else
|
else
|
||||||
BITS="64"
|
TARGETARCH=""
|
||||||
fi
|
fi
|
||||||
$python ./waf all --target-arch=${BITS}bit
|
$python ./waf all $TARGETARCH
|
||||||
cd ..
|
cd ..
|
||||||
$python setup.py install
|
$python setup.py install
|
||||||
#$pip install pyinstaller
|
#$pip install pyinstaller
|
||||||
|
|||||||
Reference in New Issue
Block a user