mirror of
https://github.com/GAM-team/GAM.git
synced 2025-05-12 20:27:20 +00:00
actions: install scons for staticx (needed for arm64)
This commit is contained in:
parent
91db5e5c45
commit
a4eff89658
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -553,7 +553,6 @@ jobs:
|
|||||||
# https://github.com/pyinstaller/pyinstaller/issues/7102
|
# https://github.com/pyinstaller/pyinstaller/issues/7102
|
||||||
export PATH="$(dirname ${PYTHON}):/usr/bin"
|
export PATH="$(dirname ${PYTHON}):/usr/bin"
|
||||||
fi
|
fi
|
||||||
#if ([ "${staticx}" != "yes" ] && [ "$RUNNER_OS" != "Windows" ]); then
|
|
||||||
if [[ "$staticx" != "yes" ]]; then
|
if [[ "$staticx" != "yes" ]]; then
|
||||||
export PYINSTALLER_BUILD_ONEDIR=yes
|
export PYINSTALLER_BUILD_ONEDIR=yes
|
||||||
fi
|
fi
|
||||||
@ -599,6 +598,9 @@ jobs:
|
|||||||
- name: Install StaticX
|
- name: Install StaticX
|
||||||
if: matrix.staticx == 'yes'
|
if: matrix.staticx == 'yes'
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get -qq --yes update
|
||||||
|
# arm64 needs to build a wheel and needs scons to build
|
||||||
|
sudo apt-get -qq --yes install scons
|
||||||
"${PYTHON}" -m pip install --upgrade patchelf-wrapper
|
"${PYTHON}" -m pip install --upgrade patchelf-wrapper
|
||||||
"${PYTHON}" -m pip install --upgrade staticx
|
"${PYTHON}" -m pip install --upgrade staticx
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user