3
0
Fork 0
forked from suyu/suyu

ci: Add two step patreon build pipeline

This commit is contained in:
Zach Hilman 2019-09-26 09:42:18 -04:00
parent 0ba7055873
commit 867e1db287
3 changed files with 36 additions and 19 deletions

View file

@ -0,0 +1,8 @@
trigger:
- master
stages:
- stage: merge
displayName: 'merge'
jobs:
- template: ./templates/merge-private.yml

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: azure
displayName: 'azure'
steps:
- template: ./templates/release-universal.yml

View file

@ -1,19 +0,0 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'