2019-09-26 06:42:18 -07:00
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
|
2019-10-04 21:09:11 -07:00
|
|
|
variables:
|
|
|
|
DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]
|
|
|
|
|
2019-09-26 06:42:18 -07:00
|
|
|
stages:
|
|
|
|
- stage: build
|
|
|
|
displayName: 'build'
|
|
|
|
jobs:
|
2019-10-02 15:23:05 -07:00
|
|
|
- job: build
|
2020-09-29 22:17:50 -07:00
|
|
|
timeoutInMinutes: 120
|
2019-10-02 15:23:05 -07:00
|
|
|
displayName: 'windows-msvc'
|
|
|
|
pool:
|
2022-04-24 03:07:13 -07:00
|
|
|
vmImage: windows-2022
|
2019-09-26 06:42:18 -07:00
|
|
|
steps:
|
2019-10-02 15:23:05 -07: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-04 21:09:11 -07:00
|
|
|
version: $(DisplayVersion)
|
2019-10-08 16:52:02 -07:00
|
|
|
- stage: release
|
|
|
|
displayName: 'release'
|
|
|
|
dependsOn: build
|
|
|
|
jobs:
|
|
|
|
- job: release
|
|
|
|
displayName: 'source'
|
2021-10-11 13:57:41 -07:00
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
2019-10-08 16:52:02 -07:00
|
|
|
steps:
|
|
|
|
- template: ./templates/release-private-tag.yml
|