@@ -7,7 +7,7 @@ parameters:
77 ExtraOptions : ' '
88 ExtraOptionsFreethreaded : ' --disable-gil'
99 TailCallingOption : ' '
10- ArchSuffix : ' '
10+ Post315OutputDir : false
1111
1212jobs :
1313- job : Build_Docs
@@ -116,7 +116,7 @@ jobs:
116116 win32_t :
117117 Name : win32_t
118118 Arch : win32
119- ArchDir : win32 ${{ parameters.ArchSuffix }}
119+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'win32t', 'win32') }}
120120 Platform : x86
121121 Configuration : Release
122122 _HostPython : .\python
@@ -128,7 +128,7 @@ jobs:
128128 win32_td :
129129 Name : win32_td
130130 Arch : win32
131- ArchDir : win32 ${{ parameters.ArchSuffix }}
131+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'win32t', 'win32') }}
132132 Platform : x86
133133 Configuration : Debug
134134 _HostPython : .\python
@@ -138,7 +138,7 @@ jobs:
138138 amd64_t :
139139 Name : amd64_t
140140 Arch : amd64
141- ArchDir : amd64 ${{ parameters.ArchSuffix }}
141+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'amd64t', 'amd64') }}
142142 Platform : x64
143143 Configuration : Release
144144 _HostPython : .\python
@@ -150,7 +150,7 @@ jobs:
150150 amd64_td :
151151 Name : amd64_td
152152 Arch : amd64
153- ArchDir : amd64 ${{ parameters.ArchSuffix }}
153+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'amd64t', 'amd64') }}
154154 Platform : x64
155155 Configuration : Debug
156156 _HostPython : .\python
@@ -160,7 +160,7 @@ jobs:
160160 arm64_t :
161161 Name : arm64_t
162162 Arch : arm64
163- ArchDir : arm64 ${{ parameters.ArchSuffix }}
163+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
164164 Platform : ARM64
165165 Configuration : Release
166166 _HostPython : python
@@ -172,7 +172,7 @@ jobs:
172172 arm64_td :
173173 Name : arm64_td
174174 Arch : arm64
175- ArchDir : arm64 ${{ parameters.ArchSuffix }}
175+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
176176 Platform : ARM64
177177 Configuration : Debug
178178 _HostPython : python
@@ -209,10 +209,10 @@ jobs:
209209 amd64_t :
210210 Name : amd64_t
211211 Arch : amd64
212- ArchDir : amd64 ${{ parameters.ArchSuffix }}
212+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'amd64t', 'amd64') }}
213213 Platform : x64
214214 _HostPython : .\python
215- PythonExePattern : python3*t.exe
215+ PythonExePattern : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'python.exe', ' python3*t.exe') }}
216216 ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }} ${{ parameters.TailCallingOption }}
217217 ${{ if eq(parameters.ToBeSigned, 'true') }} :
218218 Artifact : unsigned_amd64_t
@@ -254,8 +254,8 @@ jobs:
254254 arm64_t :
255255 Name : arm64_t
256256 Arch : arm64
257- ArchDir : arm64 ${{ parameters.ArchSuffix }}
258- PythonExePattern314 : python3*t.exe
257+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
258+ PythonExePattern : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'python.exe', ' python3*t.exe') }}
259259 ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }}
260260 ${{ if eq(parameters.ToBeSigned, 'true') }} :
261261 Artifact : unsigned_arm64_t
@@ -298,8 +298,8 @@ jobs:
298298 arm64_t :
299299 Name : arm64_t
300300 Arch : arm64
301- ArchDir : arm64 ${{ parameters.ArchSuffix }}
302- PythonExePattern : python3*t.exe
301+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
302+ PythonExePattern : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'python.exe', ' python3*t.exe') }}
303303 ${{ if eq(parameters.ToBeSigned, 'true') }} :
304304 Artifact : unsigned_arm64_t
305305 ${{ else }} :
@@ -337,8 +337,8 @@ jobs:
337337 arm64_t :
338338 Name : arm64_t
339339 Arch : arm64
340- ArchDir : arm64 ${{ parameters.ArchSuffix }}
341- PythonExePattern : python3*t.exe
340+ ArchDir : ${{ iif(eq( parameters.Post315OutputDir, 'true'), 'arm64t', 'arm64') }}
341+ PythonExePattern : ${{ iif(eq(parameters.Post315OutputDir, 'true'), 'python.exe', ' python3*t.exe') }}
342342 ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }}
343343 ${{ if eq(parameters.ToBeSigned, 'true') }} :
344344 Artifact : unsigned_arm64_t
0 commit comments