Skip to content

Commit 6705eba

Browse files
authored
Update wheels.yml
1 parent 7a94877 commit 6705eba

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,26 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
os: [ubuntu-latest, windows-latest, macos-13]
40+
os: [macos-13]
4141

4242
steps:
4343
- uses: actions/checkout@v4
4444
with:
4545
submodules: true
4646

47-
- uses: pypa/[email protected]
47+
- name: Install cibuildwheel
48+
run: |
49+
python -m pip install -U pip
50+
# Use a branch while iOS support is in development and test-sources is unpublished.
51+
# python -m pip install cibuildwheel==3.0.0
52+
python -m pip install git+https://github.com/freakboy3742/cibuildwheel.git@ios-support
53+
54+
- name: Build wheels
55+
run: python -m cibuildwheel
4856
env:
49-
CIBW_ARCHS_MACOS: auto universal2
57+
CIBW_PLATFORM: "macos"
58+
CIBW_ARCHS: "auto"
59+
CIBW_BUILD: "cp313*"
5060

5161
- name: Verify clean directory
5262
run: git diff --exit-code
@@ -55,7 +65,7 @@ jobs:
5565
- name: Upload wheels
5666
uses: actions/upload-artifact@v4
5767
with:
58-
name: cibw-wheels-${{ matrix.os }}
68+
name: cibw-wheels-macos
5969
path: wheelhouse/*.whl
6070

6171

0 commit comments

Comments
 (0)