Skip to content

Commit

Permalink
Merge pull request #76 from michaeltryby/dev-workflow
Browse files Browse the repository at this point in the history
minimally functional actions file, for build-test
  • Loading branch information
samhatchett authored Jul 6, 2021
2 parents 85fe99b + d76c7f0 commit 9f552fb
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build Wheels

on: [push, pull_request]


build_toolkit_win-mac:
name: Build MacOS python 3.8
runs-on: macos-10.15
defaults:
run:
working-directory: ./owa-epanet

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: true

- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install required system packages
run: brew install swig

- name: Build wheel
run: |
pip install scikit-build
python setup.py bdist_wheel
- name: Test wheel
run: |
pip install pytest
pip install --no-index --find-links=./dist owa-epanet
pytest
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
path: owa-epanet/dist/*.whl

0 comments on commit 9f552fb

Please sign in to comment.