@@ -171,24 +171,29 @@ jobs:
171171 env :
172172 B2_TEST_APPLICATION_KEY : ${{ secrets.B2_TEST_APPLICATION_KEY }}
173173 B2_TEST_APPLICATION_KEY_ID : ${{ secrets.B2_TEST_APPLICATION_KEY_ID }}
174- WORKFLOW_ID : ${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }}
175- runs-on : ubuntu-latest
176- container :
177- image : " python:3.12 " # can not use ${{ env.PYTHON_DEFAULT_VERSION }} here
178- env :
179- DEBIAN_FRONTEND : noninteractive
174+ WORKFLOW_ID : ${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }} runs-on: ${{ matrix.os }}
175+ runs-on : ${{ matrix.os }}
176+ strategy :
177+ fail-fast : false
178+ matrix :
179+ os : ["ubuntu-22.04", "ubuntu-22.04-arm"] # keep the versions aligned with cd.yml
180180 steps :
181181 - uses : actions/checkout@v4
182182 with :
183183 fetch-depth : 0
184+ - name : Set up Python ${{ env.PYTHON_DEFAULT_VERSION }}
185+ uses :
deadsnakes/[email protected] # staticx doesn't work with python installed by setup-python action 186+ with :
187+ python-version : ${{ env.PYTHON_DEFAULT_VERSION }}
184188 - name : Install dependencies
185189 run : |
186- apt-get -y update
187- apt-get -y install patchelf
190+ sudo apt-get -y update
191+ sudo apt-get -y install patchelf scons
188192 python -m pip install --upgrade nox pdm
189193 git config --global --add safe.directory '*'
190194 - name : Bundle the distribution
191195 id : bundle
196+ shell : bash
192197 run : nox -vs bundle
193198 - name : Generate hashes
194199 id : hashes
@@ -213,11 +218,7 @@ jobs:
213218 B2_TEST_APPLICATION_KEY : ${{ secrets.B2_TEST_APPLICATION_KEY }}
214219 B2_TEST_APPLICATION_KEY_ID : ${{ secrets.B2_TEST_APPLICATION_KEY_ID }}
215220 WORKFLOW_ID : ${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }}
216- runs-on : ${{ matrix.os }}
217- strategy :
218- fail-fast : false
219- matrix :
220- os : [windows-latest, windows-2025]
221+ runs-on : windows-2022 # keep the version aligned with cd.yml
221222 steps :
222223 - uses : actions/checkout@v4
223224 with :
0 commit comments