Skip to content

Commit 92a72f2

Browse files
chore: try adding GHA
1 parent b09d757 commit 92a72f2

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build_wheel.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build Wheels
2+
3+
on: [push]
4+
5+
env:
6+
CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* pp27-* pp36-* pp37-*
7+
8+
jobs:
9+
build_wheels:
10+
name: Build wheels on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-20.04, windows-2019, macos-latest]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Build wheels
20+
uses: joerick/[email protected]
21+
# to supply options, put them in 'env', like:
22+
env:
23+
CIBW_BEFORE_BUILD: git submodule init && git submodule update && pip install oldest-supported-numpy scikit-build
24+
CPPFLAGS: -I/usr/local/opt/zlib/include
25+
LDFLAGS: -L/usr/local/opt/zlib/lib
26+
27+
- uses: actions/upload-artifact@v2
28+
with:
29+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)