63
63
fail-fast : false
64
64
matrix :
65
65
os : [macos-latest]
66
- cibw_python : [ "cp38 -*", "cp39 -*", "cp310-*", "cp311 -*"]
66
+ cibw_python : ["cp310 -*", "cp311 -*", "cp312 -*"]
67
67
cibw_arch : [ "x86_64", "arm64"] # , "universal2"]
68
68
69
69
steps :
76
76
with :
77
77
python-version : ' 3.10'
78
78
79
- # See:
80
- # https://cibuildwheel.readthedocs.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64
81
- # https://github.com/pypa/cibuildwheel/issues/1414
82
- - name : Install experimental MacOSX Py38
83
- if : startsWith(matrix.cibw_python, 'cp38') && (matrix.cibw_arch == 'arm64')
84
- run : |
85
- curl -o /tmp/Python38.pkg https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
86
- sudo installer -pkg /tmp/Python38.pkg -target /
87
- sh "/Applications/Python 3.8/Install Certificates.command"
88
-
89
79
- name : Install cibuildwheel
90
80
run : |
91
81
python -m pip install cibuildwheel
@@ -116,12 +106,13 @@ jobs:
116
106
path : ./dist/*.whl
117
107
118
108
build_windows_wheels :
119
- name : Build ${{ matrix.cibw_arch }} wheels on ${{ matrix.os }}
109
+ name : Build python ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} wheels on ${{ matrix.os }}
120
110
runs-on : ${{ matrix.os }}
121
111
strategy :
122
112
fail-fast : false
123
113
matrix :
124
114
os : [windows-latest]
115
+ cibw_python : ["cp310-*", "cp311-*", "cp312-*"]
125
116
cibw_arch : ["AMD64"]
126
117
127
118
steps :
@@ -142,8 +133,7 @@ jobs:
142
133
run : |
143
134
python -m cibuildwheel --output-dir dist
144
135
env :
145
- # Skip pypy
146
- CIBW_BUILD : " cp3?-*"
136
+ CIBW_BUILD : ${{ matrix.cibw_python }}
147
137
CIBW_ARCHS_WINDOWS : ${{ matrix.cibw_arch }}
148
138
# -Wl,-S equivalent to gcc's -Wl,--strip-debug
149
139
LDFLAGS : " -Wl,-S"
0 commit comments