This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2019-09-26 13:42:18 +00:00
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
|
2019-10-05 04:09:11 +00:00
|
|
|
variables:
|
|
|
|
DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]
|
|
|
|
|
2019-09-26 13:42:18 +00:00
|
|
|
stages:
|
|
|
|
- stage: build
|
|
|
|
displayName: 'build'
|
|
|
|
jobs:
|
2019-10-02 22:23:05 +00:00
|
|
|
- job: build
|
2020-09-30 05:17:50 +00:00
|
|
|
timeoutInMinutes: 120
|
2019-10-02 22:23:05 +00:00
|
|
|
displayName: 'windows-msvc'
|
|
|
|
pool:
|
2022-04-24 10:07:13 +00:00
|
|
|
vmImage: windows-2022
|
2019-09-26 13:42:18 +00:00
|
|
|
steps:
|
2019-10-02 22:23:05 +00: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 04:09:11 +00:00
|
|
|
version: $(DisplayVersion)
|
2019-10-08 23:52:02 +00:00
|
|
|
- stage: release
|
|
|
|
displayName: 'release'
|
|
|
|
dependsOn: build
|
|
|
|
jobs:
|
|
|
|
- job: release
|
|
|
|
displayName: 'source'
|
2021-10-11 20:57:41 +00:00
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
2019-10-08 23:52:02 +00:00
|
|
|
steps:
|
|
|
|
- template: ./templates/release-private-tag.yml
|