Skip to content

Commit 5b6a1ac

Browse files
committed
test building wheels to avoid surprises at release time
1 parent 04aa3c2 commit 5b6a1ac

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build-wheels.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build wheels
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, macOS-latest, windows-latest]
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- name: Build wheels
21+
uses: messense/maturin-action@v1
22+
with:
23+
maturin-version: latest
24+
manylinux: auto
25+
command: build
26+
args: --release

0 commit comments

Comments
 (0)