@@ -204,7 +204,8 @@ jobs:
204204 ./bin/python3 -m test -uall
205205
206206 build-android :
207- name : build-android (${{ matrix.arch }})
207+ # ${{ '' } is a hack to nest jobs under the same sidebar category.
208+ name : Android${{ '' }} # zizmor: ignore[obfuscation]
208209 needs :
209210 - verify-input
210211 if : fromJSON(needs.verify-input.outputs.build-android)
@@ -217,23 +218,13 @@ jobs:
217218 - arch : x86_64
218219 runs-on : ubuntu-24.04
219220
220- runs-on : ${{ matrix.runs-on }}
221- timeout-minutes : 60
222- env :
223- triplet : ${{ matrix.arch }}-linux-android
224- steps :
225- - name : " Checkout ${{ env.GIT_REMOTE }}/cpython"
226- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
227- with :
228- persist-credentials : false
229- repository : " ${{ env.GIT_REMOTE }}/cpython"
230- ref : " v${{ env.CPYTHON_RELEASE }}"
231-
232- - name : Build and test
233- run : ./Android/android.py ci "$triplet"
234-
235- - uses : actions/upload-artifact@v4
236- with :
237- name : ${{ env.triplet }}
238- path : cross-build/${{ env.triplet }}/dist/*
239- if-no-files-found : error
221+ # FIXME: point to python/cpython once tested
222+ uses : webknjaz/python--release-tools/.github/workflows/reusable-android.yml@29fe94de87e4d970127c6ad79928e79302a214a3
223+ with :
224+ arch : ${{ matrix.arch }}
225+ check-name : ${{ matrix.arch }}
226+ checkout-ref : v${{ env.CPYTHON_RELEASE }}
227+ checkout-repository : ${{ env.GIT_REMOTE }}/cpython
228+ runner-vm-os : ${{ matrix.runs-on }}
229+ store-built-artifacts : true
230+ timeout-minutes : 60
0 commit comments