ci: Split mainline pipeline and add support for GitHub releases (#2900)

* ci: Add mock build alternative for fast testing

* ci: Always cache build

* ci: Extract steps to download build stage artifacts

* ci: Add template to release to GitHub

* ci: Add template to release to Azure Universal Artifacts

* ci: Split mainline to two pipelines
This commit is contained in:
Zach Hilman
2019-09-22 16:01:29 -04:00
committed by Flame Sage
parent aaec1562f8
commit cc3db2aa43
7 changed files with 62 additions and 13 deletions

View File

@@ -0,0 +1,28 @@
trigger:
- master
stages:
- stage: format
displayName: 'format'
jobs:
- job: format
displayName: 'clang'
pool:
vmImage: ubuntu-latest
steps:
- template: ./templates/format-check.yml
- stage: build
dependsOn: format
displayName: 'build'
jobs:
- template: ./templates/build-standard.yml
parameters:
cache: 'true'
- stage: release
displayName: 'Release'
dependsOn: build
jobs:
- job: github
displayName: 'GitHub Release'
steps:
- template: ./templates/release-github.yml