From 00916ac9fdf4f20cdac86524b5f4280bceb51122 Mon Sep 17 00:00:00 2001 From: Geoffrey Bolmier Date: Mon, 25 Nov 2024 16:14:25 -0500 Subject: [PATCH] Update pypi workflow - Remove redundant ubuntu OSes (they build the same wheels) - Remove macos-12 useless condition - Add `CIBW_BUILD_VERBOSITY: 2` for more informative logs --- .github/workflows/pypi.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 684f33d481..a000d7d594 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -15,9 +15,7 @@ jobs: matrix: os: [ - ubuntu-20.04, - ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-2019, windows-2022, macos-13, @@ -34,7 +32,7 @@ jobs: toolchain: nightly - run: rustup target add aarch64-apple-darwin && rustup target add x86_64-apple-darwin - if: matrix.os == 'macos-12' || matrix.os == 'macos-13' || matrix.os == 'macos-14' + if: matrix.os == 'macos-13' || matrix.os == 'macos-14' - run: rustup toolchain install stable-i686-pc-windows-msvc if: matrix.os == 'windows-2019' || matrix.os == 'windows-2022' @@ -52,6 +50,7 @@ jobs: uses: pypa/cibuildwheel@v2.22.0 timeout-minutes: 720 env: + CIBW_BUILD_VERBOSITY: 2 CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*" CIBW_ARCHS_LINUX: "x86_64 i686 aarch64" # CIBW_ARCHS_MACOS: "x86_64 arm64"