mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
ci: retag the musl aarch64 for manylinux2014 (#3624)
<!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary Fix #3439 by retagging the statically linked musl binary for manylinux2014. This is the most conservative option; the regular manylinux one could be removed as well, and I expect other archs could probably do this as well. <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan Testing on manylinux. <!-- How was it tested? --> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
parent
d88bef9704
commit
a0c5948a0b
1 changed files with 15 additions and 1 deletions
16
.github/workflows/build-binaries.yml
vendored
16
.github/workflows/build-binaries.yml
vendored
|
@ -576,7 +576,7 @@ jobs:
|
|||
with:
|
||||
target: ${{ matrix.platform.target }}
|
||||
manylinux: musllinux_1_1
|
||||
args: --release --locked --out dist --features self-update
|
||||
args: --release --locked --out dist --features self-update ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}}
|
||||
docker-options: ${{ matrix.platform.maturin_docker_options }}
|
||||
rust-toolchain: ${{ matrix.platform.toolchain || 'stable' }}
|
||||
- uses: uraimo/run-on-arch-action@v2
|
||||
|
@ -591,6 +591,20 @@ jobs:
|
|||
python -m venv .venv
|
||||
.venv/bin/pip3 install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
|
||||
.venv/bin/${{ env.MODULE_NAME }} --help
|
||||
- uses: uraimo/run-on-arch-action@v2
|
||||
name: Test wheel (manylinux)
|
||||
if: matrix.platform.arch == 'aarch64'
|
||||
with:
|
||||
arch: aarch64
|
||||
distro: ubuntu20.04
|
||||
githubToken: ${{ github.token }}
|
||||
install: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends python3 python3-pip
|
||||
pip3 install -U pip
|
||||
run: |
|
||||
pip3 install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
|
||||
${{ env.MODULE_NAME }} --help
|
||||
- name: "Upload wheels"
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue