You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

azure-pipelines.yml 687 B

12345678910111213141516171819202122232425262728293031
  1. variables:
  2. buildConfiguration: Release
  3. buildTag: $[ startsWith(variables['Build.SourceBranch'], 'refs/tags') ]
  4. buildNumber: $[ variables['Build.BuildNumber'] ]
  5. jobs:
  6. - job: Linux
  7. pool:
  8. vmImage: 'ubuntu-16.04'
  9. steps:
  10. - template: azure/build.yml
  11. - job: Windows_build
  12. pool:
  13. vmImage: 'vs2017-win2016'
  14. condition: ne(variables['Build.SourceBranch'], 'refs/heads/ci/azure')
  15. steps:
  16. - template: azure/build.yml
  17. - job: Windows_deploy
  18. pool:
  19. vmImage: 'vs2017-win2016'
  20. condition: |
  21. and (
  22. succeeded(),
  23. eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure')
  24. )
  25. steps:
  26. - template: azure/build.yml
  27. - template: azure/deploy.yml