This commit is contained in:
Googlefan
2025-02-23 04:27:14 +00:00
parent 3e0c24e0ec
commit f036417046
2 changed files with 4 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
FROM ubuntu:latest
RUN apt update && apt install openssl libssl-dev curl pkg-config -y
RUN apt update && apt install openssl libssl-dev curl pkg-config software-properties-common -y && add-apt-repository ppa:deadsnakes/ppa && apt update && apt install python3.7 python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 -y

View File

@@ -31,13 +31,14 @@ jobs:
python-version: 3.x
- uses: docker/setup-qemu-action@v3
with:
platforms: linux/arm64,linux/amd64
- run: docker build . -f .github/workflows/CI.Dockerfile --tag ci
platforms: linux/${{ matrix.platform.target }}
- run: docker build . -f .github/workflows/CI.Dockerfile --tag ci --platform linux/${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
docker-options: --platform linux/${{ matrix.platform.target }}
sccache: 'true'
manylinux: auto
container: ci