diff --git a/.github/workflows/CI.Dockerfile b/.github/workflows/CI.Dockerfile index e5a4381..0362e35 100644 --- a/.github/workflows/CI.Dockerfile +++ b/.github/workflows/CI.Dockerfile @@ -1,2 +1,2 @@ FROM ubuntu:latest -RUN apt update && apt install openssl libssl-dev curl pkg-config -y \ No newline at end of file +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 \ No newline at end of file diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 27f953e..7f32a3e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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