ci: rewrite to use scripts

This commit is contained in:
Christopher Felegy
2019-03-16 17:23:44 -04:00
parent 0de7f94447
commit e7d52fded1
3 changed files with 41 additions and 29 deletions

View File

@@ -11,15 +11,20 @@ jobs:
steps:
- template: azure/build.yml
- job: Windows
- job: Windows (Non-deploy)
pool:
vmImage: 'vs2017-win2016'
steps:
- template: azure/build.yml
- script: echo deploy
# TODO: condition check for dev branch
condition: |
- job: Windows (Deploy)
pool:
vmImage: 'vs2017-win2016'
condition: |
and (
succeeded(),
eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure')
)
steps:
- template: azure/build.yml
- template: azure/deploy.yml