summaryrefslogtreecommitdiffstats
path: root/.azure-pipelines/pr.yml
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2019-01-22 18:49:52 (GMT)
committerGitHub <noreply@github.com>2019-01-22 18:49:52 (GMT)
commit28f6cb34f602b9796987904a607dceaf2e4a9e78 (patch)
tree82f000e6147a550cd4b803c19ffada03c5978a86 /.azure-pipelines/pr.yml
parentbf4ac2d2fd520c61306b2676db488adab9b5d8c5 (diff)
downloadcpython-28f6cb34f602b9796987904a607dceaf2e4a9e78.zip
cpython-28f6cb34f602b9796987904a607dceaf2e4a9e78.tar.gz
cpython-28f6cb34f602b9796987904a607dceaf2e4a9e78.tar.bz2
bpo-35683: Improve Azure Pipelines steps (GH-11493)
Diffstat (limited to '.azure-pipelines/pr.yml')
-rw-r--r--.azure-pipelines/pr.yml71
1 files changed, 69 insertions, 2 deletions
diff --git a/.azure-pipelines/pr.yml b/.azure-pipelines/pr.yml
index 2d7fba9..0bd7921 100644
--- a/.azure-pipelines/pr.yml
+++ b/.azure-pipelines/pr.yml
@@ -1,3 +1,12 @@
+variables:
+ manylinux: false
+ coverage: false
+
+resources:
+ containers:
+ - container: manylinux1
+ image: pyca/cryptography-manylinux1:x86_64
+
jobs:
- job: Prebuild
displayName: Pre-build checks
@@ -50,12 +59,70 @@ jobs:
variables:
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
testRunPlatform: linux
- openssl_version: 1.1.0g
+ openssl_version: 1.1.0j
steps:
- template: ./posix-steps.yml
parameters:
- targetBranch: $(System.PullRequest.TargetBranch)
+ dependencies: apt
+
+
+- job: ManyLinux1_PR_Tests
+ displayName: ManyLinux1 PR Tests
+ dependsOn: Prebuild
+ condition: |
+ and(
+ and(
+ succeeded(),
+ eq(variables['manylinux'], 'true')
+ ),
+ eq(dependencies.Prebuild.outputs['tests.run'], 'true')
+ )
+
+ pool:
+ vmImage: ubuntu-16.04
+
+ container: manylinux1
+
+ variables:
+ testRunTitle: '$(system.pullRequest.TargetBranch)-manylinux1'
+ testRunPlatform: manylinux1
+ openssl_version: ''
+
+ steps:
+ - template: ./posix-steps.yml
+ parameters:
+ dependencies: yum
+ sudo_dependencies: ''
+ xvfb: false
+ patchcheck: false
+
+
+- job: Ubuntu_Coverage_PR_Tests
+ displayName: Ubuntu PR Tests (coverage)
+ dependsOn: Prebuild
+ condition: |
+ and(
+ and(
+ succeeded(),
+ eq(variables['coverage'], 'true')
+ ),
+ eq(dependencies.Prebuild.outputs['tests.run'], 'true')
+ )
+
+ pool:
+ vmImage: ubuntu-16.04
+
+ variables:
+ testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
+ testRunPlatform: linux-coverage
+ openssl_version: 1.1.0j
+
+ steps:
+ - template: ./posix-steps.yml
+ parameters:
+ dependencies: apt
+ coverage: true
- job: Windows_PR_Tests