63 lines
1.7 KiB
YAML
63 lines
1.7 KiB
YAML
jobs:
|
|
- job: Make_Layouts
|
|
displayName: Make layouts
|
|
condition: and(succeeded(), eq(variables['DoLayout'], 'true'))
|
|
|
|
pool:
|
|
vmName: win2016-vs2017
|
|
|
|
workspace:
|
|
clean: all
|
|
|
|
strategy:
|
|
matrix:
|
|
win32:
|
|
Name: win32
|
|
Python: $(Build.BinariesDirectory)\bin_$(Name)\python.exe
|
|
PYTHONHOME: $(Build.SourcesDirectory)
|
|
amd64:
|
|
Name: amd64
|
|
Python: $(Build.BinariesDirectory)\bin_$(Name)\python.exe
|
|
PYTHONHOME: $(Build.SourcesDirectory)
|
|
|
|
steps:
|
|
- template: ./checkout.yml
|
|
|
|
- task: DownloadBuildArtifacts@0
|
|
displayName: 'Download artifact: bin_$(Name)'
|
|
inputs:
|
|
artifactName: bin_$(Name)
|
|
downloadPath: $(Build.BinariesDirectory)
|
|
|
|
- task: DownloadBuildArtifacts@0
|
|
displayName: 'Download artifact: bin_$(Name)_d'
|
|
inputs:
|
|
artifactName: bin_$(Name)_d
|
|
downloadPath: $(Build.BinariesDirectory)
|
|
|
|
- task: DownloadBuildArtifacts@0
|
|
displayName: 'Download artifact: doc'
|
|
inputs:
|
|
artifactName: doc
|
|
downloadPath: $(Build.BinariesDirectory)
|
|
|
|
- task: DownloadBuildArtifacts@0
|
|
displayName: 'Download artifact: tcltk_lib_$(Name)'
|
|
inputs:
|
|
artifactName: tcltk_lib_$(Name)
|
|
downloadPath: $(Build.BinariesDirectory)
|
|
|
|
- template: ./layout-command.yml
|
|
|
|
- powershell: |
|
|
$(LayoutCmd) --copy "$(Build.ArtifactStagingDirectory)\layout" --preset-default
|
|
displayName: 'Generate full layout'
|
|
env:
|
|
TCL_LIBRARY: $(Build.BinariesDirectory)\tcltk_lib_$(Name)\tcl8
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: 'Publish Artifact: layout_full_$(Name)'
|
|
inputs:
|
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)\layout'
|
|
ArtifactName: layout_full_$(Name)
|