Skip to content

Commit 2bb8bc0

Browse files
committed
Add GitHub Actions workflow for building wheels
1 parent 87967b7 commit 2bb8bc0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build_wheels.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
# macos-13 is an intel runner, macos-14 is apple silicon
12+
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Build wheels
18+
run: pipx run cibuildwheel==2.20.0
19+
20+
- uses: actions/upload-artifact@v4
21+
with:
22+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
23+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)