Skip to content

Commit e65943d

Browse files
committed
Try to add cibuildwheel workflow
1 parent b235a2b commit e65943d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/cibuildwheel.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
uses: pypa/[email protected]
19+
env:
20+
CIBW_SOME_OPTION: value
21+
with:
22+
package-dir: .
23+
output-dir: wheelhouse
24+
config-file: "{package}/pyproject.toml"
25+
26+
- uses: actions/upload-artifact@v4
27+
with:
28+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
29+
path: ./wheelhouse/*.whl
30+

0 commit comments

Comments
 (0)