|
58 | 58 | name: Linux x86-64 (glibc) |
59 | 59 | image: debian/bookworm |
60 | 60 | arch: amd64 |
61 | | - - os: ubuntu-24.04 |
| 61 | + - os: ubuntu-24.04 (musl) |
| 62 | + name: Linux aarch64 |
| 63 | + image: alpine |
| 64 | + arch: arm64 |
| 65 | + - os: ubuntu-24.04 (glibc) |
62 | 66 | name: Linux aarch64 |
63 | 67 | image: debian/bookworm |
64 | 68 | arch: arm64 |
@@ -103,22 +107,20 @@ jobs: |
103 | 107 | export UV="$(which uv)" |
104 | 108 | "${UV}" -V |
105 | 109 | echo UV="${UV}" >> ${GITHUB_ENV} |
106 | | - - name: Setup x86_64 Python for Prism |
107 | | - if: matrix.os == 'windows-11-arm' |
108 | | - run: | |
109 | | - # N.B.: We use an x86-64 Python for Windows ARM64 because this is what we ship with via |
110 | | - # PBS, and we need to be able to resolve x86-64 compatible requirements (which include |
111 | | - # native deps like psutil) for our shiv. |
112 | | - UV_PYTHON_VERSION=cpython-3.13.7-windows-x86_64-none |
113 | | - "${UV}" python install ${UV_PYTHON_VERSION} |
114 | | - echo UV_PYTHON_ARGS="--python ${UV_PYTHON_VERSION}" >> ${GITHUB_ENV} |
115 | 110 | - name: Installing emulators |
116 | 111 | if: matrix.image != '' |
117 | 112 | run: docker run --privileged --rm tonistiigi/binfmt --install all |
118 | 113 | - name: Checkout lift ${{ needs.determine-tag.outputs.release-tag }} |
119 | 114 | uses: actions/checkout@v4 |
120 | 115 | with: |
121 | 116 | ref: ${{ needs.determine-tag.outputs.release-tag }} |
| 117 | + - name: Ensure aarch64 Python for Windows ARM |
| 118 | + if: matrix.os == 'windows-11-arm' |
| 119 | + run: | |
| 120 | + # N.B.: uv still defaults to x86_64 / Prism emulation; so we have to force aarch64 here. |
| 121 | + UV_PYTHON_VERSION="cpython-$(cat .python-version)-windows-aarch64" |
| 122 | + "${UV}" python install ${UV_PYTHON_VERSION} |
| 123 | + echo UV_PYTHON="${UV_PYTHON_VERSION}" >> ${GITHUB_ENV} |
122 | 124 | - name: Package science ${{ needs.determine-tag.outputs.release-tag }} binary |
123 | 125 | if: matrix.image == '' |
124 | 126 | run: | |
|
0 commit comments