4
4
condition : and(succeeded(), eq(variables['DoLayout'], 'true'))
5
5
6
6
pool :
7
- vmName : win2016-vs2017
7
+ vmImage : windows-2019
8
8
9
9
workspace :
10
10
clean : all
@@ -13,11 +13,18 @@ jobs:
13
13
matrix :
14
14
win32 :
15
15
Name : win32
16
- Python : $(Build.BinariesDirectory)\bin_$(Name) \python.exe
16
+ Python : $(Build.BinariesDirectory)\bin \python.exe
17
17
PYTHONHOME : $(Build.SourcesDirectory)
18
+ TclLibrary : $(Build.BinariesDirectory)\tcltk_lib\tcl8
18
19
amd64 :
19
20
Name : amd64
20
- Python : $(Build.BinariesDirectory)\bin_$(Name)\python.exe
21
+ Python : $(Build.BinariesDirectory)\bin\python.exe
22
+ PYTHONHOME : $(Build.SourcesDirectory)
23
+ TclLibrary : $(Build.BinariesDirectory)\tcltk_lib\tcl8
24
+ arm64 :
25
+ Name : arm64
26
+ HostArch : amd64
27
+ Python : $(Build.BinariesDirectory)\bin_amd64\python.exe
21
28
PYTHONHOME : $(Build.SourcesDirectory)
22
29
23
30
steps :
@@ -43,21 +50,23 @@ jobs:
43
50
44
51
- task : DownloadPipelineArtifact@1
45
52
displayName : ' Download artifact: tcltk_lib_$(Name)'
53
+ condition : and(succeeded(), variables['TclLibrary'])
46
54
inputs :
47
55
artifactName : tcltk_lib_$(Name)
48
56
targetPath : $(Build.BinariesDirectory)\tcltk_lib
49
57
50
58
- powershell : |
51
- copy $(Build.BinariesDirectory)\bin\Activate.ps1 Lib\venv\scripts\common\Activate.ps1 -Force
59
+ copy " $(Build.BinariesDirectory)\bin\Activate.ps1" Lib\venv\scripts\common\Activate.ps1 -Force
52
60
displayName: 'Copy signed files into sources'
61
+ condition: and(succeeded(), variables['SigningCertificate'])
53
62
54
63
- template : ./layout-command.yml
55
64
56
65
- powershell : |
57
66
$(LayoutCmd) --copy "$(Build.ArtifactStagingDirectory)\layout" --preset-default
58
67
displayName: 'Generate full layout'
59
68
env:
60
- TCL_LIBRARY: $(Build.BinariesDirectory)\tcltk_lib\tcl8
69
+ TCL_LIBRARY: $(TclLibrary)
61
70
62
71
- task : PublishPipelineArtifact@0
63
72
displayName : ' Publish Artifact: layout_full_$(Name)'
0 commit comments