Skip to content

Commit

Permalink
actions: install scons for staticx (needed for arm64)
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee authored Jan 16, 2025
1 parent 91db5e5 commit a4eff89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ jobs:
# https://github.com/pyinstaller/pyinstaller/issues/7102
export PATH="$(dirname ${PYTHON}):/usr/bin"
fi
#if ([ "${staticx}" != "yes" ] && [ "$RUNNER_OS" != "Windows" ]); then
if [[ "$staticx" != "yes" ]]; then
export PYINSTALLER_BUILD_ONEDIR=yes
fi
Expand Down Expand Up @@ -599,6 +598,9 @@ jobs:
- name: Install StaticX
if: matrix.staticx == 'yes'
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 staticx
Expand Down

0 comments on commit a4eff89

Please sign in to comment.