37 lines
815 B
YAML
37 lines
815 B
YAML
|
jobs:
|
||
|
- job: Make_MSI
|
||
|
displayName: Make MSI
|
||
|
condition: and(succeeded(), not(variables['SigningCertificate']))
|
||
|
|
||
|
pool:
|
||
|
vmName: win2016-vs2017
|
||
|
|
||
|
variables:
|
||
|
ReleaseUri: http://www.python.org/{arch}
|
||
|
DownloadUrl: https://www.python.org/ftp/python/{version}/{arch}{releasename}/{msi}
|
||
|
Py_OutDir: $(Build.BinariesDirectory)
|
||
|
|
||
|
workspace:
|
||
|
clean: all
|
||
|
|
||
|
steps:
|
||
|
- template: msi-steps.yml
|
||
|
|
||
|
- job: Make_Signed_MSI
|
||
|
displayName: Make signed MSI
|
||
|
condition: and(succeeded(), variables['SigningCertificate'])
|
||
|
|
||
|
pool:
|
||
|
name: 'Windows Release'
|
||
|
|
||
|
variables:
|
||
|
ReleaseUri: http://www.python.org/{arch}
|
||
|
DownloadUrl: https://www.python.org/ftp/python/{version}/{arch}{releasename}/{msi}
|
||
|
Py_OutDir: $(Build.BinariesDirectory)
|
||
|
|
||
|
workspace:
|
||
|
clean: all
|
||
|
|
||
|
steps:
|
||
|
- template: msi-steps.yml
|