Skip to content

Commit 09ef8fe

Browse files
committed
Add workflow based on @mzecc's work
1 parent c17a0cb commit 09ef8fe

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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, ubuntu-24.04-arm, windows-latest, windows-11-arm, macos-13, macos-14]
13+
# os: [ubuntu-latest]
14+
15+
steps:
16+
- uses: actions/checkout@v5
17+
18+
- name: Build wheels
19+
uses: pypa/cibuildwheel@v3.1.4
20+
# env:
21+
# CIBW_SOME_OPTION: value
22+
# ...
23+
with:
24+
package-dir: .
25+
output-dir: wheelhouse
26+
config-file: "{package}/pyproject.toml"
27+
28+
- uses: actions/upload-artifact@v4
29+
with:
30+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
31+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)