File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,16 @@ jobs:
199
199
- name : Set up Python ${{ matrix.python-version }}
200
200
if : endsWith(matrix.python-version, 't')
201
201
run : |
202
- uv python install ${{ matrix.python-version }}
202
+ uv python install ${IMPL}-${VERSION}-${OS%-*}-${ARCH}-${LIBC}
203
+ env :
204
+ IMPL : cpython
205
+ VERSION : ${{ matrix.python-version }}
206
+ # uv expects linux|macos|windows, we can drop the -* but need to rename ubuntu
207
+ OS : ${{ matrix.os == 'ubuntu-latest' ? 'linux' : matrix.os }}
208
+ # uv expects x86, x86_64, aarch64 (among others)
209
+ ARCH : ${{ fromJSON('{"x86": "x86", "x64": "x86_64", "arm64": "aarch64"}')[matrix.architecture] }}
210
+ # windows and macos have no options, gnu is the only option for the archs
211
+ LIBC : ${{ matrix.os == 'ubuntu-latest' ? 'gnu' : 'none' }}
203
212
- name : Display Python version
204
213
run : python -c "import sys; print(sys.version)"
205
214
- name : Install tox
You can’t perform that action at this time.
0 commit comments