Skip to content

Commit

Permalink
chore: try adding GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Aug 27, 2021
1 parent b09d757 commit 92a72f2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Wheels

on: [push]

env:
CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* pp27-* pp36-* pp37-*

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-latest]

steps:
- uses: actions/checkout@v2

- name: Build wheels
uses: joerick/[email protected]
# to supply options, put them in 'env', like:
env:
CIBW_BEFORE_BUILD: git submodule init && git submodule update && pip install oldest-supported-numpy scikit-build
CPPFLAGS: -I/usr/local/opt/zlib/include
LDFLAGS: -L/usr/local/opt/zlib/lib

- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl

0 comments on commit 92a72f2

Please sign in to comment.