@@ -3,12 +3,12 @@ name: Build Wheels
33# Cross compile wheels only on main branch and tags
44on :
55 pull_request :
6- branches :
7- - master
6+ branches :
7+ - master
88 push :
9- branches :
9+ branches :
1010 - master
11- tags :
11+ tags :
1212 - v*
1313 workflow_dispatch :
1414
4444 build_wheels :
4545 runs-on : ${{ matrix.os }}
4646 strategy :
47- fail-fast : true
47+ fail-fast : false
4848 matrix :
4949 os : [ubuntu-latest, windows-2022, macos-12]
5050 pyver : [cp38, cp39, cp310, cp311]
@@ -59,22 +59,23 @@ jobs:
5959 uses : pypa/cibuildwheel@v2.15.0
6060 with :
6161 package-dir : ./swmm-toolkit
62- env :
62+ env :
6363 CIBW_TEST_COMMAND : " pytest {package}/tests"
6464 CIBW_BEFORE_TEST : pip install -r {package}/test-requirements.txt
6565 # mac needs ninja to build
6666 CIBW_BEFORE_BUILD_MACOS : brew install ninja
6767 # configure cibuildwheel to build native archs ('auto'), and some emulated ones
6868 CIBW_ARCHS_LINUX : x86_64
69- CIBW_ARCHS_WINDOWS : AMD64
70- CIBW_ARCHS_MACOS : x86_64
69+ CIBW_ARCHS_WINDOWS : AMD64
70+ CIBW_ARCHS_MACOS : x86_64
7171 # only build current supported python: https://devguide.python.org/versions/
7272 # don't build pypy or musllinux to save build time. TODO: find a good way to support those archs
7373 CIBW_BUILD : ${{matrix.pyver}}-*
7474 CIBW_SKIP : cp36-* cp37-* cp312-* pp* *-musllinux*
7575 # Will avoid testing on emulated architectures
7676 # Skip trying to test arm64 builds on Intel Macs
7777 CIBW_TEST_SKIP : " *-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64"
78+ CIBW_BUILD_VERBOSITY : 1
7879
7980 - uses : actions/upload-artifact@v3
8081 with :
8384 build_cross_wheels :
8485 runs-on : ${{ matrix.os }}
8586 strategy :
86- fail-fast : true
87+ fail-fast : false
8788 matrix :
8889 os : [ubuntu-latest,macos-12]
8990 pyver : [cp38, cp39, cp310, cp311]
@@ -114,6 +115,7 @@ jobs:
114115 # don't build pypy or musllinux to save build time. TODO: find a good way to support those archs
115116 CIBW_BUILD : ${{matrix.pyver}}-*
116117 CIBW_SKIP : cp36-* cp37-* cp312-* pp* *-musllinux*
118+ CIBW_BUILD_VERBOSITY : 1
117119
118120 - uses : actions/upload-artifact@v3
119121 with :
0 commit comments