summaryrefslogtreecommitdiffstats
path: root/.azure-pipelines/windows-release/layout-command.yml
blob: 406ccd859faa6a49fb34a5c60b61e4170b08d71d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
steps:
- task: DownloadPipelineArtifact@1
  displayName: 'Download artifact: bin_$(HostArch)'
  condition: and(succeeded(), variables['HostArch'])
  inputs:
    artifactName: bin_$(HostArch)
    targetPath: $(Build.BinariesDirectory)\bin_$(HostArch)

- powershell: >
    Write-Host (
    '##vso[task.setvariable variable=LayoutCmd]&
    "$(Python)"
    "{1}\PC\layout"
    -vv
    --source "{1}"
    --build "{0}\bin"
    --arch "$(Name)"
    --temp "{0}\layout-temp"
    --include-cat "{0}\bin\python.cat"
    --doc-build "{0}\doc"'
    -f ("$(Build.BinariesDirectory)", "$(Build.SourcesDirectory)")
    )
  displayName: 'Set LayoutCmd'