@@ -7,6 +7,7 @@ parameters:
77 ExtraOptions : ' '
88 ExtraOptionsFreethreaded : ' --disable-gil'
99 TailCallingOption : ' '
10+ Post315OutputDir : false
1011
1112jobs :
1213- job : Build_Docs
4950 win32 :
5051 Name : win32
5152 Arch : win32
53+ ArchDir : win32
5254 Platform : x86
5355 Configuration : Release
5456 _HostPython : .\python
6062 win32_d :
6163 Name : win32_d
6264 Arch : win32
65+ ArchDir : win32
6366 Platform : x86
6467 Configuration : Debug
6568 _HostPython : .\python
6972 amd64 :
7073 Name : amd64
7174 Arch : amd64
75+ ArchDir : amd64
7276 Platform : x64
7377 Configuration : Release
7478 _HostPython : .\python
8084 amd64_d :
8185 Name : amd64_d
8286 Arch : amd64
87+ ArchDir : amd64
8388 Platform : x64
8489 Configuration : Debug
8590 _HostPython : .\python
8994 arm64 :
9095 Name : arm64
9196 Arch : arm64
97+ ArchDir : arm64
9298 Platform : ARM64
9399 Configuration : Release
94100 _HostPython : python
@@ -100,6 +106,7 @@ jobs:
100106 arm64_d :
101107 Name : arm64_d
102108 Arch : arm64
109+ ArchDir : arm64
103110 Platform : ARM64
104111 Configuration : Debug
105112 _HostPython : python
@@ -109,6 +116,7 @@ jobs:
109116 win32_t :
110117 Name : win32_t
111118 Arch : win32
119+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'win32t', 'win32') }}
112120 Platform : x86
113121 Configuration : Release
114122 _HostPython : .\python
@@ -120,6 +128,7 @@ jobs:
120128 win32_td :
121129 Name : win32_td
122130 Arch : win32
131+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'win32t', 'win32') }}
123132 Platform : x86
124133 Configuration : Debug
125134 _HostPython : .\python
@@ -129,6 +138,7 @@ jobs:
129138 amd64_t :
130139 Name : amd64_t
131140 Arch : amd64
141+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'amd64t', 'amd64') }}
132142 Platform : x64
133143 Configuration : Release
134144 _HostPython : .\python
@@ -140,6 +150,7 @@ jobs:
140150 amd64_td :
141151 Name : amd64_td
142152 Arch : amd64
153+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'amd64t', 'amd64') }}
143154 Platform : x64
144155 Configuration : Debug
145156 _HostPython : .\python
@@ -149,6 +160,7 @@ jobs:
149160 arm64_t :
150161 Name : arm64_t
151162 Arch : arm64
163+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
152164 Platform : ARM64
153165 Configuration : Release
154166 _HostPython : python
@@ -160,6 +172,7 @@ jobs:
160172 arm64_td :
161173 Name : arm64_td
162174 Arch : arm64
175+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
163176 Platform : ARM64
164177 Configuration : Debug
165178 _HostPython : python
@@ -183,6 +196,7 @@ jobs:
183196 amd64 :
184197 Name : amd64
185198 Arch : amd64
199+ ArchDir : amd64
186200 Platform : x64
187201 _HostPython : .\python
188202 PythonExePattern : python.exe
@@ -195,9 +209,10 @@ jobs:
195209 amd64_t :
196210 Name : amd64_t
197211 Arch : amd64
212+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'amd64t', 'amd64') }}
198213 Platform : x64
199214 _HostPython : .\python
200- PythonExePattern : python3*t.exe
215+ PythonExePattern : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'python.exe', ' python3*t.exe') }}
201216 ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }} ${{ parameters.TailCallingOption }}
202217 ${{ if eq(parameters.ToBeSigned, 'true') }} :
203218 Artifact : unsigned_amd64_t
@@ -220,14 +235,15 @@ jobs:
220235 clean : all
221236
222237 variables :
223- Arch : arm64
224238 Platform : ARM64
225239 _HostPython : python
226240
227241 strategy :
228242 matrix :
229243 arm64 :
230244 Name : arm64
245+ Arch : arm64
246+ ArchDir : arm64
231247 PythonExePattern : python.exe
232248 ExtraOptions : ${{ parameters.ExtraOptions }}
233249 ${{ if eq(parameters.ToBeSigned, 'true') }} :
@@ -237,7 +253,9 @@ jobs:
237253 ${{ if eq(parameters.DoFreethreaded, 'true') }} :
238254 arm64_t :
239255 Name : arm64_t
240- PythonExePattern : python3*t.exe
256+ Arch : arm64
257+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
258+ PythonExePattern : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'python.exe', 'python3*t.exe') }}
241259 ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }}
242260 ${{ if eq(parameters.ToBeSigned, 'true') }} :
243261 Artifact : unsigned_arm64_t
@@ -263,13 +281,14 @@ jobs:
263281 clean : all
264282
265283 variables :
266- Arch : arm64
267284 Platform : ARM64
268285
269286 strategy :
270287 matrix :
271288 arm64 :
272289 Name : arm64
290+ Arch : arm64
291+ ArchDir : arm64
273292 PythonExePattern : python.exe
274293 ${{ if eq(parameters.ToBeSigned, 'true') }} :
275294 Artifact : unsigned_arm64
@@ -278,7 +297,9 @@ jobs:
278297 ${{ if eq(parameters.DoFreethreaded, 'true') }} :
279298 arm64_t :
280299 Name : arm64_t
281- PythonExePattern : python3*t.exe
300+ Arch : arm64
301+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
302+ PythonExePattern : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'python.exe', 'python3*t.exe') }}
282303 ${{ if eq(parameters.ToBeSigned, 'true') }} :
283304 Artifact : unsigned_arm64_t
284305 ${{ else }} :
@@ -297,14 +318,15 @@ jobs:
297318 clean : all
298319
299320 variables :
300- Arch : arm64
301321 Platform : ARM64
302322 _HostPython : python
303323
304324 strategy :
305325 matrix :
306326 arm64 :
307327 Name : arm64
328+ Arch : arm64
329+ ArchDir : arm64
308330 PythonExePattern : python.exe
309331 ExtraOptions : ${{ parameters.ExtraOptions }}
310332 ${{ if eq(parameters.ToBeSigned, 'true') }} :
@@ -314,7 +336,9 @@ jobs:
314336 ${{ if eq(parameters.DoFreethreaded, 'true') }} :
315337 arm64_t :
316338 Name : arm64_t
317- PythonExePattern : python3*t.exe
339+ Arch : arm64
340+ ArchDir : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
341+ PythonExePattern : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'python.exe', 'python3*t.exe') }}
318342 ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }}
319343 ${{ if eq(parameters.ToBeSigned, 'true') }} :
320344 Artifact : unsigned_arm64_t
0 commit comments