@@ -3,7 +3,7 @@ name: Build Wheels
33on : [push, pull_request]
44
55env :
6- DOCKER_IMAGE : dockcross/manylinux2014-x64
6+ DOCKER_IMAGE : dockcross/manylinux2014-x64:latest
77
88
99jobs :
3333 with :
3434 path : nrtest-swmm/dist/*.whl
3535
36- test_conda_build :
37- name : Conda wheel test mac
38- runs-on : macos-latest
39- defaults :
40- run :
41- shell : bash -l {0}
42-
43- steps :
44- - name : Checkout repo
45- uses : actions/checkout@v2
46- with :
47- submodules : true
48-
49- - uses : conda-incubator/setup-miniconda@v2
50- with :
51- auto-update-conda : true
52- channels : conda-forge
53- # Python 3.9 does not support all libs we need in swmm-python
54- python-version : 3.8
55-
56- - name : Install required system packages
57- run : brew install swig ninja
58-
59- - name : Install requirements
60- run : |
61- cd swmm-toolkit
62- conda activate test
63- conda install --yes --file build-requirements.txt
64- python setup.py bdist_wheel
65-
66- - name : Test wheel
67- run : |
68- cd swmm-toolkit
69- conda activate test
70- conda install --yes --file test-requirements.txt
71- python -m pip install --no-index --find-links=./dist swmm_toolkit --user
72- pytest
7336
7437
7538 build_linux_wheels :
10972 fail-fast : false
11073 matrix :
11174 os : [windows-2022, macos-10.15]
112- py : ["3.7", "3.8", "3.9", "3.10"]
75+ py : ["3.7", "3.8", "3.9", "3.10", "3.11" ]
11376 include :
11477 - os : windows-2022
11578 sys_pkgs : choco install swig
@@ -150,4 +113,4 @@ jobs:
150113 - name : Upload artifacts
151114 uses : actions/upload-artifact@v2
152115 with :
153- path : swmm-toolkit/dist/*.whl
116+ path : swmm-toolkit/dist/*.whl
0 commit comments