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 629 B

123456789101112131415161718192021222324252627282930
  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 without deploy
  12. pool:
  13. vmImage: 'vs2017-win2016'
  14. steps:
  15. - template: azure/build.yml
  16. - job: Windows with deploy
  17. pool:
  18. vmImage: 'vs2017-win2016'
  19. condition: |
  20. and (
  21. succeeded(),
  22. eq(variables['Build.SourceBranch'], 'refs/heads/ci/azure')
  23. )
  24. steps:
  25. - template: azure/build.yml
  26. - template: azure/deploy.yml