diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index f6dedb0f8e29..4b581102c256 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -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: