File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Wheels
2+
3+ on : [push, pull_request]
4+
5+
6+ build_toolkit_win-mac :
7+ name : Build MacOS python 3.8
8+ runs-on : macos-10.15
9+ defaults :
10+ run :
11+ working-directory : ./owa-epanet
12+
13+ steps :
14+ - name : Checkout repo
15+ uses : actions/checkout@v2
16+ with :
17+ submodules : true
18+
19+ - name : Install Python
20+ uses : actions/setup-python@v2
21+ with :
22+ python-version : 3.8
23+
24+ - name : Install required system packages
25+ run : brew install swig
26+
27+ - name : Build wheel
28+ run : |
29+ pip install scikit-build
30+ python setup.py bdist_wheel
31+
32+ - name : Test wheel
33+ run : |
34+ pip install pytest
35+ pip install --no-index --find-links=./dist owa-epanet
36+ pytest
37+
38+ - name : Upload artifacts
39+ uses : actions/upload-artifact@v2
40+ with :
41+ path : owa-epanet/dist/*.whl
You can’t perform that action at this time.
0 commit comments