2019-09-26 15:42:18 +02:00
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
|
2019-10-05 06:09:11 +02:00
|
|
|
variables:
|
|
|
|
DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]
|
|
|
|
|
2019-09-26 15:42:18 +02:00
|
|
|
stages:
|
|
|
|
- stage: build
|
|
|
|
displayName: 'build'
|
|
|
|
jobs:
|
2019-10-03 00:23:05 +02:00
|
|
|
- job: build
|
2020-09-30 07:17:50 +02:00
|
|
|
timeoutInMinutes: 120
|
2019-10-03 00:23:05 +02:00
|
|
|
displayName: 'windows-msvc'
|
|
|
|
pool:
|
2022-05-17 09:15:29 +02:00
|
|
|
vmImage: windows-2019
|
2019-09-26 15:42:18 +02:00
|
|
|
steps:
|
2019-10-03 00:23:05 +02:00
|
|
|
- template: ./templates/sync-source.yml
|
|
|
|
parameters:
|
|
|
|
artifactSource: $(parameters.artifactSource)
|
|
|
|
needSubmodules: 'true'
|
|
|
|
- template: ./templates/build-msvc.yml
|
|
|
|
parameters:
|
|
|
|
artifactSource: 'false'
|
|
|
|
cache: $(parameters.cache)
|
2019-10-05 06:09:11 +02:00
|
|
|
version: $(DisplayVersion)
|
2019-10-09 01:52:02 +02:00
|
|
|
- stage: release
|
|
|
|
displayName: 'release'
|
|
|
|
dependsOn: build
|
|
|
|
jobs:
|
|
|
|
- job: release
|
|
|
|
displayName: 'source'
|
2021-10-11 22:57:41 +02:00
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
2019-10-09 01:52:02 +02:00
|
|
|
steps:
|
|
|
|
- template: ./templates/release-private-tag.yml
|