@@ -11,19 +11,21 @@ jobs:
11
11
build-ubuntu :
12
12
runs-on : ubuntu-20.04
13
13
strategy :
14
+ # fail-fast: false
14
15
matrix :
15
16
include :
16
17
- { python-version: "3.8", pythonLibPath: "/opt/python/cp39-cp38/lib", pythonInclude: "/opt/python/cp38-cp38/include/python3.8", cibwbuild: "cp38-manylinux_x86_64"}
17
18
- { python-version: "3.9", pythonLibPath: "/opt/python/cp39-cp39/lib", pythonInclude: "/opt/python/cp39-cp39/include/python3.9", cibwbuild: "cp39-manylinux_x86_64"}
18
19
- { python-version: "3.10", pythonLibPath: "/opt/python/cp310-cp310/lib", pythonInclude: "/opt/python/cp310-cp310/include/python3.10", cibwbuild: "cp310-manylinux_x86_64"}
19
20
- { python-version: "3.11", pythonLibPath: "/opt/python/cp311-cp311/lib", pythonInclude: "/opt/python/cp311-cp311/include/python3.11", cibwbuild: "cp311-manylinux_x86_64"}
21
+ - { python-version: "3.12", pythonLibPath: "/opt/python/cp312-cp312/lib", pythonInclude: "/opt/python/cp312-cp312/include/python3.12", cibwbuild: "cp312-manylinux_x86_64"}
20
22
# - { python-version: "3.8", pythonLibPath: "/opt/python/cp39-cp38/lib", pythonInclude: "/opt/python/cp38-cp38/include/python3.8", cibwbuild: "cp38-manylinux_aarch64"}
21
23
# - { python-version: "3.9", pythonLibPath: "/opt/python/cp39-cp39/lib", pythonInclude: "/opt/python/cp39-cp39/include/python3.9", cibwbuild: "cp39-manylinux_aarch64"}
22
24
# - { python-version: "3.10", pythonLibPath: "/opt/python/cp310-cp310/lib", pythonInclude: "/opt/python/cp310-cp310/include/python3.10", cibwbuild: "cp310-manylinux_aarch64"}
23
25
# - { python-version: "3.11", pythonLibPath: "/opt/python/cp311-cp311/lib", pythonInclude: "/opt/python/cp311-cp311/include/python3.11", cibwbuild: "cp311-manylinux_aarch64"}
24
26
25
27
steps :
26
- - uses : actions/checkout@v3
28
+ - uses : actions/checkout@v4
27
29
with :
28
30
submodules : true
29
31
45
47
sh download_libfaust.sh
46
48
47
49
- name : Build wheels
48
- uses : pypa/cibuildwheel@v2.15.0
50
+ uses : pypa/cibuildwheel@v2.16.2
49
51
env :
50
52
CIBW_PLATFORM : linux
51
53
CIBW_BUILD : ${{ matrix.cibwbuild }}
60
62
CIBW_TEST_COMMAND : " rm -rf dawdreamer/*.so* && cd {project}/tests && python -m pytest -v ."
61
63
CIBW_ARCHS : auto64
62
64
CIBW_ARCHS_LINUX : auto64 aarch64 # On an Linux Intel runner with qemu installed, build Intel and ARM wheels
63
- CIBW_TEST_SKIP : " *38* *39* *311*" # Only care about 310 (current Google Colab version)
65
+ CIBW_TEST_SKIP : " *38* *39* *311* *312* " # Only care about 310 (current Google Colab version)
64
66
65
67
- uses : actions/upload-artifact@v3
66
68
with :
70
72
build-ubuntu-docker :
71
73
runs-on : ubuntu-20.04
72
74
steps :
73
- - uses : actions/checkout@v3
75
+ - uses : actions/checkout@v4
74
76
with :
75
77
submodules : true
76
78
@@ -80,15 +82,17 @@ jobs:
80
82
build-windows :
81
83
runs-on : ${{ matrix.os }}
82
84
strategy :
85
+ # fail-fast: false
83
86
matrix :
84
87
include :
85
88
- { os: windows-2022, python-version: "3.8", CIBW-BUILD: "cp38*"}
86
89
- { os: windows-2022, python-version: "3.9", CIBW-BUILD: "cp39*"}
87
90
- { os: windows-2022, python-version: "3.10", CIBW-BUILD: "cp310*"}
88
91
- { os: windows-2022, python-version: "3.11", CIBW-BUILD: "cp311*"}
92
+ - { os: windows-2022, python-version: "3.12", CIBW-BUILD: "cp312*"}
89
93
90
94
steps :
91
- - uses : actions/checkout@v3
95
+ - uses : actions/checkout@v4
92
96
with :
93
97
submodules : true
94
98
@@ -137,6 +141,7 @@ jobs:
137
141
CIBW_TEST_COMMAND : " cd /D {project}\\ tests && python -m pytest -v ."
138
142
CIBW_ARCHS : auto64
139
143
CIBW_BUILD : ${{matrix.CIBW-BUILD}}
144
+ CIBW_TEST_SKIP : " *312*"
140
145
141
146
- uses : actions/upload-artifact@v3
142
147
with :
@@ -160,17 +165,20 @@ jobs:
160
165
build-macos :
161
166
runs-on : ${{ matrix.os }}
162
167
strategy :
168
+ # fail-fast: false
163
169
matrix :
164
170
include :
165
171
- { os: macos-11, build: cp39-macosx_x86_64, python-version: "3.9", ARCHS: "x86_64" }
166
172
- { os: macos-11, build: cp310-macosx_x86_64, python-version: "3.10", ARCHS: "x86_64" }
167
173
- { os: macos-11, build: cp311-macosx_x86_64, python-version: "3.11", ARCHS: "x86_64" }
174
+ - { os: macos-11, build: cp312-macosx_x86_64, python-version: "3.12", ARCHS: "x86_64" }
168
175
- { os: macos-11, build: cp39-macosx_arm64, python-version: "3.9", ARCHS: "arm64" }
169
176
- { os: macos-11, build: cp310-macosx_arm64, python-version: "3.10", ARCHS: "arm64" }
170
177
- { os: macos-11, build: cp311-macosx_arm64, python-version: "3.11", ARCHS: "arm64" }
178
+ - { os: macos-11, build: cp312-macosx_arm64, python-version: "3.12", ARCHS: "arm64" }
171
179
172
180
steps :
173
- - uses : actions/checkout@v3
181
+ - uses : actions/checkout@v4
174
182
with :
175
183
submodules : true
176
184
@@ -194,14 +202,14 @@ jobs:
194
202
sh download_libfaust.sh
195
203
196
204
- name : Build wheels ${{ matrix.python-version }}
197
- uses : pypa/cibuildwheel@v2.15.0
205
+ uses : pypa/cibuildwheel@v2.16.2
198
206
env :
199
207
# note that the Projucer project refers to PYTHONMAJOR and pythonLocation, so they must be set here
200
208
PYTHONMAJOR : ${{ matrix.python-version }}
201
209
MACOSX_DEPLOYMENT_TARGET : 11.0
202
210
CIBW_BUILD_VERBOSITY : 1
203
211
CIBW_BEFORE_BUILD : |
204
- export pythonLocation=$(python3 -config --prefix)
212
+ export pythonLocation=$(python${{matrix.python-version}} -config --prefix)
205
213
otool -L $pythonLocation/bin/python3
206
214
xcodebuild ARCHS="${{matrix.ARCHS}}" ONLY_ACTIVE_ARCH=NO -configuration Release-${{matrix.ARCHS}} -project Builds/MacOSX/DawDreamer.xcodeproj/ CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO"
207
215
cd Builds/MacOSX/build/Release-${{matrix.ARCHS}}
@@ -212,7 +220,7 @@ jobs:
212
220
CIBW_ARCHS : auto64
213
221
CIBW_ARCHS_MACOS : ${{matrix.ARCHS}}
214
222
CIBW_ENVIRONMENT_MACOS : ARCHS="${{matrix.ARCHS}}"
215
- CIBW_TEST_SKIP : " *arm64*"
223
+ CIBW_TEST_SKIP : " *arm64* *312* "
216
224
217
225
- uses : actions/upload-artifact@v3
218
226
with :
0 commit comments