Skip to content

Commit b4f9023

Browse files
committed
Test ciwheels
1 parent 7c110d2 commit b4f9023

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build_wheels:
7+
name: Build wheels on ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-11-arm, macos-15-intel, macos-latest]
12+
13+
steps:
14+
- uses: actions/checkout@v6
15+
with:
16+
persist-credentials: false
17+
18+
# Used to host cibuildwheel
19+
- uses: actions/setup-python@v6
20+
21+
- name: Install cibuildwheel
22+
run: python -m pip install cibuildwheel==4.0.0
23+
24+
- name: Build wheels
25+
run: python -m cibuildwheel --output-dir wheelhouse
26+
# to supply options, put them in 'env', like:
27+
# env:
28+
# CIBW_SOME_OPTION: value
29+
# ...
30+
31+
- uses: actions/upload-artifact@v6
32+
with:
33+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
34+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)