From 92a72f2c55cc96b08a31ae9befe4d8b8a518e104 Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Fri, 27 Aug 2021 15:52:21 -0400 Subject: [PATCH] chore: try adding GHA --- .github/workflows/build_wheel.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build_wheel.yml diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml new file mode 100644 index 0000000..fb962e9 --- /dev/null +++ b/.github/workflows/build_wheel.yml @@ -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/cibuildwheel@v1.10.0 + # 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 \ No newline at end of file