47
47
fail-fast : false
48
48
matrix :
49
49
os : [ubuntu-latest, windows-2022, macos-12]
50
- pyver : [cp38, cp39, cp310, cp311]
50
+ pyver : [cp38, cp39, cp310, cp311, cp312 ]
51
51
52
52
steps :
53
53
- name : Checkout repo
@@ -56,22 +56,22 @@ jobs:
56
56
submodules : true
57
57
58
58
- name : Build wheels
59
- uses : pypa/cibuildwheel@v2.15.0
59
+ uses : pypa/cibuildwheel@v2.16.2
60
60
with :
61
61
package-dir : ./swmm-toolkit
62
62
env :
63
63
CIBW_TEST_COMMAND : " pytest {package}/tests"
64
64
CIBW_BEFORE_TEST : pip install -r {package}/test-requirements.txt
65
65
# mac needs ninja to build
66
66
CIBW_BEFORE_BUILD_MACOS : brew install ninja
67
- # configure cibuildwheel to build native archs ('auto'), and some emulated ones
67
+ # configure cibuildwheel to build native archs ('auto'), and some emulated ones
68
68
CIBW_ARCHS_LINUX : x86_64
69
69
CIBW_ARCHS_WINDOWS : AMD64
70
70
CIBW_ARCHS_MACOS : x86_64
71
71
# only build current supported python: https://devguide.python.org/versions/
72
72
# don't build pypy or musllinux to save build time. TODO: find a good way to support those archs
73
73
CIBW_BUILD : ${{matrix.pyver}}-*
74
- CIBW_SKIP : cp36-* cp37-* cp312-* pp* *-musllinux*
74
+ CIBW_SKIP : cp36-* cp37-* pp* *-musllinux*
75
75
# Will avoid testing on emulated architectures
76
76
# Skip trying to test arm64 builds on Intel Macs
77
77
CIBW_TEST_SKIP : " *-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64"
87
87
fail-fast : false
88
88
matrix :
89
89
os : [ubuntu-latest,macos-12]
90
- pyver : [cp38, cp39, cp310, cp311]
90
+ pyver : [cp38, cp39, cp310, cp311, cp312 ]
91
91
92
92
steps :
93
93
- name : Checkout repo
@@ -102,19 +102,19 @@ jobs:
102
102
platforms : all
103
103
104
104
- name : Build wheels
105
- uses : pypa/cibuildwheel@v2.15.0
105
+ uses : pypa/cibuildwheel@v2.16.2
106
106
with :
107
107
package-dir : ./swmm-toolkit
108
108
env :
109
- # configure cibuildwheel to build native archs ('auto'), and some emulated ones
109
+ # configure cibuildwheel to build native archs ('auto'), and some emulated ones
110
110
CIBW_ARCHS_LINUX : aarch64
111
- CIBW_ARCHS_MACOS : arm64
111
+ CIBW_ARCHS_MACOS : arm64
112
112
# only build current supported python: https://devguide.python.org/versions/
113
113
# don't build pypy or musllinux to save build time. TODO: find a good way to support those archs
114
114
CIBW_BUILD : ${{matrix.pyver}}-*
115
- CIBW_SKIP : cp36-* cp37-* cp312-* pp* *-musllinux*
115
+ CIBW_SKIP : cp36-* cp37-* pp* *-musllinux*
116
116
CIBW_BUILD_VERBOSITY : 1
117
117
118
118
- uses : actions/upload-artifact@v3
119
119
with :
120
- path : ./wheelhouse/*.whl
120
+ path : ./wheelhouse/*.whl
0 commit comments