diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-09-24 11:44:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 11:44:50 (GMT) |
commit | 57675090b0fe7d6c7d72e56384dc2ff6798f1723 (patch) | |
tree | 17a838f9f8c953cef01ccc2d32f00be980c8c8e3 /.azure-pipelines/pr.yml | |
parent | 2d3ff2b5ea6c903973f99d2155c9c1b60591dceb (diff) | |
download | cpython-57675090b0fe7d6c7d72e56384dc2ff6798f1723.zip cpython-57675090b0fe7d6c7d72e56384dc2ff6798f1723.tar.gz cpython-57675090b0fe7d6c7d72e56384dc2ff6798f1723.tar.bz2 |
bpo-34582: Update syntax of Azure Pipelines builds (GH-9521)
Diffstat (limited to '.azure-pipelines/pr.yml')
-rw-r--r-- | .azure-pipelines/pr.yml | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/.azure-pipelines/pr.yml b/.azure-pipelines/pr.yml new file mode 100644 index 0000000..653f55b --- /dev/null +++ b/.azure-pipelines/pr.yml @@ -0,0 +1,86 @@ +jobs: +- job: Prebuild + displayName: Pre-build checks + + pool: + vmImage: ubuntu-16.04 + + steps: + - template: ./prebuild-checks.yml + + +- job: Docs_PR + displayName: Docs PR + dependsOn: Prebuild + condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true')) + + pool: + vmImage: ubuntu-16.04 + + steps: + - template: ./docs-steps.yml + + +- job: macOS_PR_Tests + displayName: macOS PR Tests + dependsOn: Prebuild + condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) + + variables: + testRunTitle: '$(system.pullRequest.TargetBranch)-macos' + testRunPlatform: macos + + pool: + vmImage: xcode9-macos10.13 + + steps: + - template: ./macos-steps.yml + parameters: + targetBranch: $(System.PullRequest.TargetBranch) + + +- job: Ubuntu_PR_Tests + displayName: Ubuntu PR Tests + dependsOn: Prebuild + condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) + + pool: + vmImage: ubuntu-16.04 + + variables: + testRunTitle: '$(system.pullRequest.TargetBranch)-linux' + testRunPlatform: linux + openssl_version: 1.1.0g + + steps: + - template: ./posix-steps.yml + parameters: + targetBranch: $(System.PullRequest.TargetBranch) + + +- job: Windows_PR_Tests + displayName: Windows PR Tests + dependsOn: Prebuild + condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) + + pool: + vmImage: vs2017-win2017 + + strategy: + matrix: + win32: + arch: win32 + buildOpt: + testRunTitle: '$(System.PullRequest.TargetBranch)-win32' + testRunPlatform: win32 + win64: + arch: amd64 + buildOpt: '-p x64' + testRunTitle: '$(System.PullRequest.TargetBranch)-win64' + testRunPlatform: win64 + maxParallel: 2 + + steps: + - template: ./windows-steps.yml + parameters: + targetBranch: $(System.PullRequest.TargetBranch) |