Skip to content

Commit

Permalink
Update pypi workflow
Browse files Browse the repository at this point in the history
- Remove redundant ubuntu OSes (they build the same wheels)
- Remove macos-12 useless condition
- Add `CIBW_BUILD_VERBOSITY: 2` for more informative logs
  • Loading branch information
gbolmier committed Nov 25, 2024
1 parent e8bd570 commit 00916ac
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ jobs:
matrix:
os:
[
ubuntu-20.04,
ubuntu-22.04,
ubuntu-24.04,
ubuntu-latest,
windows-2019,
windows-2022,
macos-13,
Expand All @@ -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'
Expand All @@ -52,6 +50,7 @@ jobs:
uses: pypa/[email protected]
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"
Expand Down

0 comments on commit 00916ac

Please sign in to comment.