Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PR validation Azure DevOps pipeline process. #4775

Merged
merged 9 commits into from
Mar 15, 2019
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions build/ci/vscode-python-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# CI definition only
pr: none

# CI build for merges to master and release.
# Note: We are 'batching' builds at the moment. This will mean only one CI build
# will be triggered. If we find the resources available, turn off batching
# as it is nicer to have feedback on each and every merge.
trigger:
batch: true
branches:
include: [ 'master', 'release' ] # branches that will trigger a CI build
paths:
exclude: [ '/news', '/.vscode' ] # file paths which will not trigger a build

jobs:

- template: templates/compile-and-validate.yml
parameters:
name: 'Prebuild'
pool:
name: 'Hosted Ubuntu 1604'
UploadBinary: true
Platform: 'Linux'


- template: templates/virtual_env_tests.yml
parameters:
Platform: 'Windows'
pool:
name: 'Hosted VS2017'

- template: templates/virtual_env_tests.yml
parameters:
Platform: 'Linux'
EnvironmentExecutableFolder: 'bin'
pool:
name: 'Hosted Ubuntu 1604'

- template: templates/virtual_env_tests.yml
parameters:
Platform: 'macOS'
EnvironmentExecutableFolder: 'bin'
pool:
name: 'Hosted macOS'

- template: templates/test-phase-job.yml
parameters:
pool:
name: 'Hosted VS2017'
Platform: 'Windows'

- template: templates/test-phase-job.yml
parameters:
pool:
name: 'Hosted Ubuntu 1604'
Platform: 'Linux'

- template: templates/test-phase-job.yml
parameters:
pool:
name: 'Hosted macOS'
Platform: 'macOS'

Loading