Skip to content

Commit

Permalink
Fix Windows release builds (pythonGH-17550)
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba authored Dec 10, 2019
1 parent e9df88e commit abdeb57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .azure-pipelines/windows-release/build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down
7 changes: 7 additions & 0 deletions .azure-pipelines/windows-release/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -98,6 +103,7 @@ jobs:
Arch: amd64
Platform: x64
Configuration: Release
_HostPython: .\python

steps:
- template: ./build-steps.yml
Expand All @@ -123,6 +129,7 @@ jobs:
Arch: amd64
Platform: x64
Configuration: Release
_HostPython: .\python

steps:
- template: ./build-steps.yml
Expand Down

0 comments on commit abdeb57

Please sign in to comment.