]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix Windows release builds (GH-17550)
authorSteve Dower <steve.dower@python.org>
Tue, 10 Dec 2019 05:10:22 +0000 (21:10 -0800)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2019 05:10:22 +0000 (21:10 -0800)
.azure-pipelines/windows-release/build-steps.yml
.azure-pipelines/windows-release/stage-build.yml

index e2b6683f46e3c3e7c113937966c230299e133d4d..5ca2016d65f9e1e1f4f7c07eb485ad12ccb421ab 100644 (file)
@@ -43,7 +43,7 @@ steps:
 
 - powershell: |
     $env:SigningCertificate = $null
-    python PC\layout -vv -b "$(Build.BinariesDirectory)\bin" -t "$(Build.BinariesDirectory)\catalog" --catalog "${env:CAT}.cdf" --preset-default --arch $(Arch)
+    $(_HostPython) PC\layout -vv -b "$(Build.BinariesDirectory)\bin" -t "$(Build.BinariesDirectory)\catalog" --catalog "${env:CAT}.cdf" --preset-default --arch $(Arch)
     makecat "${env:CAT}.cdf"
     del "${env:CAT}.cdf"
     if (-not (Test-Path "${env:CAT}.cat")) {
index 60d72b282d1e511a20e9be232e03f1b56eec7c27..9391a91e30b5e68e4b6006d92e63a296eb4b189e 100644 (file)
@@ -57,26 +57,31 @@ jobs:
         Arch: win32
         Platform: x86
         Configuration: Release
+        _HostPython: .\python
       win32_d:
         Name: win32_d
         Arch: win32
         Platform: x86
         Configuration: Debug
+        _HostPython: .\python
       amd64_d:
         Name: amd64_d
         Arch: amd64
         Platform: x64
         Configuration: Debug
+        _HostPython: .\python
       arm64:
         Name: arm64
         Arch: arm64
         Platform: ARM64
         Configuration: Release
+        _HostPython: python
       arm64_d:
         Name: arm64_d
         Arch: arm64
         Platform: ARM64
         Configuration: Debug
+        _HostPython: python
 
   steps:
     - template: ./build-steps.yml
@@ -98,6 +103,7 @@ jobs:
         Arch: amd64
         Platform: x64
         Configuration: Release
+        _HostPython: .\python
 
   steps:
     - template: ./build-steps.yml
@@ -123,6 +129,7 @@ jobs:
         Arch: amd64
         Platform: x64
         Configuration: Release
+        _HostPython: .\python
 
   steps:
     - template: ./build-steps.yml