Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abdeb57

Browse files
authored
Fix Windows release builds (GH-17550)
1 parent e9df88e commit abdeb57

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.azure-pipelines/windows-release/build-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ steps:
4343

4444
- powershell: |
4545
$env:SigningCertificate = $null
46-
python PC\layout -vv -b "$(Build.BinariesDirectory)\bin" -t "$(Build.BinariesDirectory)\catalog" --catalog "${env:CAT}.cdf" --preset-default --arch $(Arch)
46+
$(_HostPython) PC\layout -vv -b "$(Build.BinariesDirectory)\bin" -t "$(Build.BinariesDirectory)\catalog" --catalog "${env:CAT}.cdf" --preset-default --arch $(Arch)
4747
makecat "${env:CAT}.cdf"
4848
del "${env:CAT}.cdf"
4949
if (-not (Test-Path "${env:CAT}.cat")) {

.azure-pipelines/windows-release/stage-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,31 @@ jobs:
5757
Arch: win32
5858
Platform: x86
5959
Configuration: Release
60+
_HostPython: .\python
6061
win32_d:
6162
Name: win32_d
6263
Arch: win32
6364
Platform: x86
6465
Configuration: Debug
66+
_HostPython: .\python
6567
amd64_d:
6668
Name: amd64_d
6769
Arch: amd64
6870
Platform: x64
6971
Configuration: Debug
72+
_HostPython: .\python
7073
arm64:
7174
Name: arm64
7275
Arch: arm64
7376
Platform: ARM64
7477
Configuration: Release
78+
_HostPython: python
7579
arm64_d:
7680
Name: arm64_d
7781
Arch: arm64
7882
Platform: ARM64
7983
Configuration: Debug
84+
_HostPython: python
8085

8186
steps:
8287
- template: ./build-steps.yml
@@ -98,6 +103,7 @@ jobs:
98103
Arch: amd64
99104
Platform: x64
100105
Configuration: Release
106+
_HostPython: .\python
101107

102108
steps:
103109
- template: ./build-steps.yml
@@ -123,6 +129,7 @@ jobs:
123129
Arch: amd64
124130
Platform: x64
125131
Configuration: Release
132+
_HostPython: .\python
126133

127134
steps:
128135
- template: ./build-steps.yml

0 commit comments

Comments
 (0)