Skip to content

Commit ed947a3

Browse files
committed
Update the CI workflow
1 parent 70429a9 commit ed947a3

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/build_wheels.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,17 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
- uses: dtolnay/rust-toolchain@stable
27-
- run: rustup target add aarch64-apple-darwin x86_64-apple-darwin
27+
- run: python -m pip install cibuildwheel==2.21.3
28+
- run: echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d '.' -f 1-2)" >> $GITHUB_ENV
2829
if: startsWith(matrix.os, 'macos')
29-
- run: rustup target add i686-pc-windows-msvc
30-
if: startsWith(matrix.os, 'windows')
31-
- uses: pypa/[email protected]
30+
- run: |
31+
brew install nasm
32+
python -m cibuildwheel
33+
if: startsWith(matrix.os, 'macos-13')
34+
- run: python -m cibuildwheel
35+
if: startsWith(matrix.os, 'macos-latest')
36+
- run: python -m cibuildwheel
37+
if: startsWith(matrix.os, 'ubuntu-latest')
3238
- uses: actions/upload-artifact@v4
3339
with:
3440
name: wheelhouse-${{ matrix.os }}

0 commit comments

Comments
 (0)