Skip to content

Commit 4c9313b

Browse files
authored
Add more platforms for cibuildwheel (#808)
* Add more OSes for cibuildwheel * Fix v6 * Remove windows arm64
1 parent 83414e4 commit 4c9313b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ jobs:
88
build_wheels:
99
name: Build wheels on ${{ matrix.os }}
1010
runs-on: ${{ matrix.os }}
11-
env:
12-
CIBW_ARCHS_MACOS: "x86_64 arm64"
1311

1412
strategy:
1513
matrix:
16-
os: [ubuntu-24.04, windows-2025, macos-15]
14+
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, macos-15-intel, macos-15]
1715

1816
steps:
1917
- uses: actions/checkout@v6
@@ -24,9 +22,9 @@ jobs:
2422
- name: Build wheels
2523
uses: pypa/cibuildwheel@v3.3.0
2624

27-
- uses: actions/upload-artifact@v4
25+
- uses: actions/upload-artifact@v6
2826
with:
29-
name: artifact-${{ matrix.os }}
27+
name: artifact-${{ matrix.os }}-${{ strategy.job-index }}
3028
path: ./wheelhouse/*.whl
3129

3230
build_sdist:
@@ -41,7 +39,7 @@ jobs:
4139
- name: Build sdist
4240
run: pipx run build --sdist
4341

44-
- uses: actions/upload-artifact@v7
42+
- uses: actions/upload-artifact@v6
4543
with:
4644
name: artifact-sdist
4745
path: dist/*.tar.gz
@@ -54,7 +52,7 @@ jobs:
5452
# alternatively, to publish when a GitHub Release is created, use the following rule:
5553
if: github.event_name == 'release' && github.event.action == 'published'
5654
steps:
57-
- uses: actions/download-artifact@v7
55+
- uses: actions/download-artifact@v6
5856
with:
5957
pattern: artifact-*
6058
path: dist

0 commit comments

Comments
 (0)