Skip to content

Commit 660b1df

Browse files
chore: try adding GHA
1 parent b09d757 commit 660b1df

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build_wheel.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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 && export LDFLAGS='-L/usr/local/opt/zlib/lib' && export CPPFLAGS='-I/usr/local/opt/zlib/include'
24+
25+
- uses: actions/upload-artifact@v2
26+
with:
27+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)