mirror of
				https://github.com/astral-sh/uv.git
				synced 2025-10-31 12:06:13 +00:00 
			
		
		
		
	feat(ci): build loongarch64 binaries in CI (#15387)
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
		
			
				
	
				CI / integration test | uv publish (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | uv_build (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check cache | ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / Determine changes (push) Waiting to run
				
			
		
			
				
	
				CI / lint (push) Waiting to run
				
			
		
			
				
	
				CI / cargo clippy | ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / cargo clippy | windows (push) Blocked by required conditions
				
			
		
			
				
	
				CI / cargo dev generate-all (push) Blocked by required conditions
				
			
		
			
				
	
				CI / cargo shear (push) Waiting to run
				
			
		
			
				
	
				CI / cargo test | ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / cargo test | macos (push) Blocked by required conditions
				
			
		
			
				
	
				CI / cargo test | windows (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check windows trampoline | aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check windows trampoline | i686 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check windows trampoline | x86_64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / test windows trampoline | aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / test windows trampoline | i686 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / test windows trampoline | x86_64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / typos (push) Waiting to run
				
			
		
			
				
	
				CI / mkdocs (push) Waiting to run
				
			
		
			
				
	
				CI / build binary | linux libc (push) Blocked by required conditions
				
			
		
			
				
	
				CI / build binary | linux aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / build binary | linux musl (push) Blocked by required conditions
				
			
		
			
				
	
				CI / build binary | freebsd (push) Blocked by required conditions
				
			
		
			
				
	
				CI / build binary | macos aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / build binary | macos x86_64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / build binary | windows x86_64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / build binary | windows aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / build binary | msrv (push) Blocked by required conditions
				
			
		
			
				
	
				CI / ecosystem test | pydantic/pydantic-core (push) Blocked by required conditions
				
			
		
			
				
	
				CI / ecosystem test | prefecthq/prefect (push) Blocked by required conditions
				
			
		
			
				
	
				CI / ecosystem test | pallets/flask (push) Blocked by required conditions
				
			
		
			
				
	
				CI / smoke test | linux (push) Blocked by required conditions
				
			
		
			
				
	
				CI / smoke test | linux aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / smoke test | windows x86_64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / smoke test | windows aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | activate nushell venv (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | conda on ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | deadsnakes python3.9 on ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | free-threaded on windows (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | graalpy on ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | determine publish changes (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | registries (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check cache | macos aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python on rocky linux 8 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python on rocky linux 9 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | pypy on ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | x86-64 python on macos aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python on macos x86-64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | aarch64 python3.13 on windows aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | windows registry (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python3.13 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python on macos aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | alpine (push) Blocked by required conditions
				
			
		
			
				
	
				CI / smoke test | macos (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | aarch64 windows implicit (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | aarch64 windows explicit (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | pypy on ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | pypy on windows (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | graalpy on windows (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | pyodide on ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | github actions (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | free-threaded python on github actions (push) Blocked by required conditions
				
			
		
			
				
	
				CI / integration test | pyenv on wsl x86-64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python on debian (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python on fedora (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python on ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | graalpy on ubuntu (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | pyston (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | python3.9 via pyenv (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | amazonlinux (push) Blocked by required conditions
				
			
		
			
				
	
				CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
				
			
		
			
				
	
				CI / benchmarks | instrumented (push) Blocked by required conditions
				
			
		
			
				
	
				zizmor / Run zizmor (push) Waiting to run
				
			
		
			
				
	
				CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
				
			
		
			
				
	
				CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
				
			
		
		
	
	
				
					
				
			
		
			Some checks are pending
		
		
	
	CI / integration test | uv publish (push) Blocked by required conditions
				
			CI / integration test | uv_build (push) Blocked by required conditions
				
			CI / check cache | ubuntu (push) Blocked by required conditions
				
			CI / Determine changes (push) Waiting to run
				
			CI / lint (push) Waiting to run
				
			CI / cargo clippy | ubuntu (push) Blocked by required conditions
				
			CI / cargo clippy | windows (push) Blocked by required conditions
				
			CI / cargo dev generate-all (push) Blocked by required conditions
				
			CI / cargo shear (push) Waiting to run
				
			CI / cargo test | ubuntu (push) Blocked by required conditions
				
			CI / cargo test | macos (push) Blocked by required conditions
				
			CI / cargo test | windows (push) Blocked by required conditions
				
			CI / check windows trampoline | aarch64 (push) Blocked by required conditions
				
			CI / check windows trampoline | i686 (push) Blocked by required conditions
				
			CI / check windows trampoline | x86_64 (push) Blocked by required conditions
				
			CI / test windows trampoline | aarch64 (push) Blocked by required conditions
				
			CI / test windows trampoline | i686 (push) Blocked by required conditions
				
			CI / test windows trampoline | x86_64 (push) Blocked by required conditions
				
			CI / typos (push) Waiting to run
				
			CI / mkdocs (push) Waiting to run
				
			CI / build binary | linux libc (push) Blocked by required conditions
				
			CI / build binary | linux aarch64 (push) Blocked by required conditions
				
			CI / build binary | linux musl (push) Blocked by required conditions
				
			CI / build binary | freebsd (push) Blocked by required conditions
				
			CI / build binary | macos aarch64 (push) Blocked by required conditions
				
			CI / build binary | macos x86_64 (push) Blocked by required conditions
				
			CI / build binary | windows x86_64 (push) Blocked by required conditions
				
			CI / build binary | windows aarch64 (push) Blocked by required conditions
				
			CI / build binary | msrv (push) Blocked by required conditions
				
			CI / ecosystem test | pydantic/pydantic-core (push) Blocked by required conditions
				
			CI / ecosystem test | prefecthq/prefect (push) Blocked by required conditions
				
			CI / ecosystem test | pallets/flask (push) Blocked by required conditions
				
			CI / smoke test | linux (push) Blocked by required conditions
				
			CI / smoke test | linux aarch64 (push) Blocked by required conditions
				
			CI / smoke test | windows x86_64 (push) Blocked by required conditions
				
			CI / smoke test | windows aarch64 (push) Blocked by required conditions
				
			CI / integration test | activate nushell venv (push) Blocked by required conditions
				
			CI / integration test | conda on ubuntu (push) Blocked by required conditions
				
			CI / integration test | deadsnakes python3.9 on ubuntu (push) Blocked by required conditions
				
			CI / integration test | free-threaded on windows (push) Blocked by required conditions
				
			CI / integration test | graalpy on ubuntu (push) Blocked by required conditions
				
			CI / integration test | determine publish changes (push) Blocked by required conditions
				
			CI / integration test | registries (push) Blocked by required conditions
				
			CI / check cache | macos aarch64 (push) Blocked by required conditions
				
			CI / check system | python on rocky linux 8 (push) Blocked by required conditions
				
			CI / check system | python on rocky linux 9 (push) Blocked by required conditions
				
			CI / check system | pypy on ubuntu (push) Blocked by required conditions
				
			CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
				
			CI / check system | x86-64 python on macos aarch64 (push) Blocked by required conditions
				
			CI / check system | python on macos x86-64 (push) Blocked by required conditions
				
			CI / check system | python3.10 on windows x86-64 (push) Blocked by required conditions
				
			CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
				
			CI / check system | python3.13 on windows x86-64 (push) Blocked by required conditions
				
			CI / check system | x86-64 python3.13 on windows aarch64 (push) Blocked by required conditions
				
			CI / check system | aarch64 python3.13 on windows aarch64 (push) Blocked by required conditions
				
			CI / check system | windows registry (push) Blocked by required conditions
				
			CI / check system | python3.13 (push) Blocked by required conditions
				
			CI / check system | conda3.11 on macos aarch64 (push) Blocked by required conditions
				
			CI / check system | python on macos aarch64 (push) Blocked by required conditions
				
			CI / check system | alpine (push) Blocked by required conditions
				
			CI / smoke test | macos (push) Blocked by required conditions
				
			CI / integration test | aarch64 windows implicit (push) Blocked by required conditions
				
			CI / integration test | aarch64 windows explicit (push) Blocked by required conditions
				
			CI / integration test | pypy on ubuntu (push) Blocked by required conditions
				
			CI / integration test | pypy on windows (push) Blocked by required conditions
				
			CI / integration test | graalpy on windows (push) Blocked by required conditions
				
			CI / integration test | pyodide on ubuntu (push) Blocked by required conditions
				
			CI / integration test | github actions (push) Blocked by required conditions
				
			CI / integration test | free-threaded python on github actions (push) Blocked by required conditions
				
			CI / integration test | pyenv on wsl x86-64 (push) Blocked by required conditions
				
			CI / check system | python on debian (push) Blocked by required conditions
				
			CI / check system | python on fedora (push) Blocked by required conditions
				
			CI / check system | python on ubuntu (push) Blocked by required conditions
				
			CI / check system | graalpy on ubuntu (push) Blocked by required conditions
				
			CI / check system | pyston (push) Blocked by required conditions
				
			CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
				
			CI / check system | python3.9 via pyenv (push) Blocked by required conditions
				
			CI / check system | conda3.8 on macos aarch64 (push) Blocked by required conditions
				
			CI / check system | conda3.11 on windows x86-64 (push) Blocked by required conditions
				
			CI / check system | amazonlinux (push) Blocked by required conditions
				
			CI / benchmarks | walltime aarch64 linux (push) Blocked by required conditions
				
			CI / benchmarks | instrumented (push) Blocked by required conditions
				
			zizmor / Run zizmor (push) Waiting to run
				
			CI / check system | conda3.11 on linux x86-64 (push) Blocked by required conditions
				
			CI / check system | conda3.8 on linux x86-64 (push) Blocked by required conditions
				
			CI / check system | conda3.8 on windows x86-64 (push) Blocked by required conditions
				
			CI / check system | embedded python3.10 on windows x86-64 (push) Blocked by required conditions
				
			<!--
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
<!-- What's the purpose of the change? What does it do, and why? -->
This PR adds support for building loongarch64 binaries in CI. As uv
itself runs perfectly well on loongarch64 and with the latter's userbase
steadily growing, it would be a good idea to ship prebuilt binaries to
help them out.
Please note that as Ubuntu is not yet available for loongarch64, I have
elected to use a Debian Trixie container maintained by community
members. In addition, as Debian's pip does not allow installing modules
system-wide, the workflow for loongarch64 installs additional modules in
a virtual environment.
## Test Plan
<!-- How was it tested? -->
Tests are included in CI and the loongarch64 artifacts built in [this
workflow](4846648669)
has been smoke tested.
			
			
This commit is contained in:
		
							parent
							
								
									cbcf51391f
								
							
						
					
					
						commit
						2fd9e53b25
					
				
					 3 changed files with 115 additions and 0 deletions
				
			
		
							
								
								
									
										109
									
								
								.github/workflows/build-binaries.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										109
									
								
								.github/workflows/build-binaries.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -842,6 +842,115 @@ jobs: | ||||||
|           name: wheels_uv_build-${{ matrix.platform.target }} |           name: wheels_uv_build-${{ matrix.platform.target }} | ||||||
|           path: crates/uv-build/dist |           path: crates/uv-build/dist | ||||||
| 
 | 
 | ||||||
|  |   linux-loongarch64: | ||||||
|  |     if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }} | ||||||
|  |     timeout-minutes: 30 | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         platform: | ||||||
|  |           - target: loongarch64-unknown-linux-gnu | ||||||
|  |             arch: loong64 | ||||||
|  |             base_image: --platform=linux/loong64 ghcr.io/loong64/debian:trixie | ||||||
|  | 
 | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||||||
|  |         with: | ||||||
|  |           persist-credentials: false | ||||||
|  | 
 | ||||||
|  |       - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | ||||||
|  |         with: | ||||||
|  |           python-version: ${{ env.PYTHON_VERSION }} | ||||||
|  |       - name: "Prep README.md" | ||||||
|  |         run: python scripts/transform_readme.py --target pypi | ||||||
|  | 
 | ||||||
|  |       # uv | ||||||
|  |       - name: "Build wheels" | ||||||
|  |         uses: PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4 | ||||||
|  |         with: | ||||||
|  |           target: ${{ matrix.platform.target }} | ||||||
|  |           manylinux: auto | ||||||
|  |           docker-options: ${{ matrix.platform.maturin_docker_options }} | ||||||
|  |           args: --release --locked --out dist --features self-update | ||||||
|  |       - uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1 | ||||||
|  |         name: "Test wheel" | ||||||
|  |         with: | ||||||
|  |           base_image: ${{ matrix.platform.base_image }} | ||||||
|  |           githubToken: ${{ github.token }} | ||||||
|  |           install: | | ||||||
|  |             apt-get update | ||||||
|  |             apt-get install -y --no-install-recommends python3 python3-pip python-is-python3 python3-venv | ||||||
|  |           run: | | ||||||
|  |             python3 -m venv .venv | ||||||
|  |             .venv/bin/pip install -U pip | ||||||
|  |             source .venv/bin/activate | ||||||
|  |             pip install ${PACKAGE_NAME} --no-index --find-links dist/ --force-reinstall | ||||||
|  |             ${MODULE_NAME} --help | ||||||
|  |             # TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here. | ||||||
|  |             # python -m ${MODULE_NAME} --help | ||||||
|  |             uvx --help | ||||||
|  |           env: | | ||||||
|  |             PACKAGE_NAME: ${{ env.PACKAGE_NAME }} | ||||||
|  |             MODULE_NAME: ${{ env.MODULE_NAME }} | ||||||
|  |       - name: "Upload wheels" | ||||||
|  |         uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||||||
|  |         with: | ||||||
|  |           name: wheels_uv-${{ matrix.platform.target }} | ||||||
|  |           path: dist | ||||||
|  |       - name: "Archive binary" | ||||||
|  |         shell: bash | ||||||
|  |         run: | | ||||||
|  |           ARCHIVE_NAME=uv-$TARGET | ||||||
|  |           ARCHIVE_FILE=$ARCHIVE_NAME.tar.gz | ||||||
|  | 
 | ||||||
|  |           mkdir -p $ARCHIVE_NAME | ||||||
|  |           cp target/$TARGET/release/uv $ARCHIVE_NAME/uv | ||||||
|  |           cp target/$TARGET/release/uvx $ARCHIVE_NAME/uvx | ||||||
|  |           tar czvf $ARCHIVE_FILE $ARCHIVE_NAME | ||||||
|  |           shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256 | ||||||
|  |         env: | ||||||
|  |           TARGET: ${{ matrix.platform.target }} | ||||||
|  |       - name: "Upload binary" | ||||||
|  |         uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||||||
|  |         with: | ||||||
|  |           name: artifacts-${{ matrix.platform.target }} | ||||||
|  |           path: | | ||||||
|  |             *.tar.gz | ||||||
|  |             *.sha256 | ||||||
|  | 
 | ||||||
|  |       # uv-build | ||||||
|  |       - name: "Build wheels uv-build" | ||||||
|  |         uses: PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4 | ||||||
|  |         with: | ||||||
|  |           target: ${{ matrix.platform.target }} | ||||||
|  |           manylinux: auto | ||||||
|  |           docker-options: ${{ matrix.platform.maturin_docker_options }} | ||||||
|  |           args: --profile minimal-size --locked --out crates/uv-build/dist -m crates/uv-build/Cargo.toml | ||||||
|  |       - uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1 | ||||||
|  |         name: "Test wheel uv-build" | ||||||
|  |         with: | ||||||
|  |           base_image: ${{ matrix.platform.base_image }} | ||||||
|  |           githubToken: ${{ github.token }} | ||||||
|  |           install: | | ||||||
|  |             apt-get update | ||||||
|  |             apt-get install -y --no-install-recommends python3 python3-pip python-is-python3 python3-venv | ||||||
|  |           run: | | ||||||
|  |             python3 -m venv .venv | ||||||
|  |             .venv/bin/pip install -U pip | ||||||
|  |             source .venv/bin/activate | ||||||
|  |             pip install ${PACKAGE_NAME}-build --no-index --find-links crates/uv-build/dist --force-reinstall | ||||||
|  |             ${MODULE_NAME}-build --help | ||||||
|  |             # TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here. | ||||||
|  |             # python -m ${MODULE_NAME}-build --help | ||||||
|  |           env: | | ||||||
|  |             PACKAGE_NAME: ${{ env.PACKAGE_NAME }} | ||||||
|  |             MODULE_NAME: ${{ env.MODULE_NAME }} | ||||||
|  |       - name: "Upload wheels uv-build" | ||||||
|  |         uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||||||
|  |         with: | ||||||
|  |           name: wheels_uv_build-${{ matrix.platform.target }} | ||||||
|  |           path: crates/uv-build/dist | ||||||
|  | 
 | ||||||
|   musllinux: |   musllinux: | ||||||
|     if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }} |     if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }} | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								.github/workflows/publish-pypi.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/publish-pypi.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -28,6 +28,8 @@ jobs: | ||||||
|           pattern: wheels_uv-* |           pattern: wheels_uv-* | ||||||
|           path: wheels_uv |           path: wheels_uv | ||||||
|           merge-multiple: true |           merge-multiple: true | ||||||
|  |       - name: Remove wheels unsupported by PyPI | ||||||
|  |         run: rm wheels_uv/*loong* | ||||||
|       - name: Publish to PyPI |       - name: Publish to PyPI | ||||||
|         run: uv publish -v wheels_uv/* |         run: uv publish -v wheels_uv/* | ||||||
| 
 | 
 | ||||||
|  | @ -47,5 +49,7 @@ jobs: | ||||||
|           pattern: wheels_uv_build-* |           pattern: wheels_uv_build-* | ||||||
|           path: wheels_uv_build |           path: wheels_uv_build | ||||||
|           merge-multiple: true |           merge-multiple: true | ||||||
|  |       - name: Remove wheels unsupported by PyPI | ||||||
|  |         run: rm wheels_uv/*loong* | ||||||
|       - name: Publish to PyPI |       - name: Publish to PyPI | ||||||
|         run: uv publish -v wheels_uv_build/* |         run: uv publish -v wheels_uv_build/* | ||||||
|  |  | ||||||
|  | @ -29,6 +29,7 @@ targets = [ | ||||||
|     "powerpc64le-unknown-linux-gnu", |     "powerpc64le-unknown-linux-gnu", | ||||||
|     "riscv64gc-unknown-linux-gnu", |     "riscv64gc-unknown-linux-gnu", | ||||||
|     "s390x-unknown-linux-gnu", |     "s390x-unknown-linux-gnu", | ||||||
|  |     "loongarch64-unknown-linux-gnu", | ||||||
|     "x86_64-unknown-linux-gnu", |     "x86_64-unknown-linux-gnu", | ||||||
|     "x86_64-unknown-linux-musl", |     "x86_64-unknown-linux-musl", | ||||||
|     "x86_64-pc-windows-msvc", |     "x86_64-pc-windows-msvc", | ||||||
|  | @ -72,6 +73,7 @@ global = "depot-ubuntu-latest-4" | ||||||
| # Override glibc version for specific target triplets. | # Override glibc version for specific target triplets. | ||||||
| aarch64-unknown-linux-gnu = "2.28" | aarch64-unknown-linux-gnu = "2.28" | ||||||
| riscv64gc-unknown-linux-gnu = "2.31" | riscv64gc-unknown-linux-gnu = "2.31" | ||||||
|  | loongarch64-unknown-linux-gnu = "2.36" | ||||||
| # Override all remaining glibc versions. | # Override all remaining glibc versions. | ||||||
| "*" = "2.17" | "*" = "2.17" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 SkyBird
						SkyBird