blob: 3feb85ae6561de8e826a40763f785ade2cd8f949 [file] [log] [blame]
Steve Dower57675092018-09-24 07:44:50 -04001variables:
Steve Dower57675092018-09-24 07:44:50 -04002 coverage: false
3
Steve Dower102b4982020-08-07 23:22:02 +01004trigger: ['master', '3.9', '3.8', '3.7']
Steve Dower28f6cb32019-01-22 10:49:52 -08005
Steve Dower57675092018-09-24 07:44:50 -04006jobs:
7- job: Prebuild
8 displayName: Pre-build checks
9
10 pool:
Steve Dower102b4982020-08-07 23:22:02 +010011 vmImage: ubuntu-18.04
Steve Dower57675092018-09-24 07:44:50 -040012
13 steps:
14 - template: ./prebuild-checks.yml
15
16
17- job: Docs_PR
18 displayName: Docs PR
19 dependsOn: Prebuild
20 condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true'))
21
22 pool:
Steve Dower102b4982020-08-07 23:22:02 +010023 vmImage: ubuntu-18.04
Steve Dower57675092018-09-24 07:44:50 -040024
25 steps:
26 - template: ./docs-steps.yml
27 parameters:
28 upload: true
29
30
31- job: macOS_CI_Tests
32 displayName: macOS CI Tests
33 dependsOn: Prebuild
Steve Dower31350f92020-03-07 00:11:47 +000034 #condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
35 # bpo-39837: macOS tests on Azure Pipelines are disabled
36 condition: false
Steve Dower57675092018-09-24 07:44:50 -040037
38 variables:
39 testRunTitle: '$(build.sourceBranchName)-macos'
40 testRunPlatform: macos
41
42 pool:
Steve Dower801f9252019-09-10 16:53:03 +010043 vmImage: macos-10.14
Steve Dower57675092018-09-24 07:44:50 -040044
45 steps:
46 - template: ./macos-steps.yml
47
48
49- job: Ubuntu_CI_Tests
50 displayName: Ubuntu CI Tests
51 dependsOn: Prebuild
52 condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
53
54 pool:
Steve Dower102b4982020-08-07 23:22:02 +010055 vmImage: ubuntu-18.04
Steve Dower57675092018-09-24 07:44:50 -040056
57 variables:
58 testRunTitle: '$(build.sourceBranchName)-linux'
59 testRunPlatform: linux
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)80d827c2020-06-13 02:16:36 +053060 openssl_version: 1.1.1g
Steve Dower57675092018-09-24 07:44:50 -040061
62 steps:
63 - template: ./posix-steps.yml
Steve Dower28f6cb32019-01-22 10:49:52 -080064 parameters:
65 dependencies: apt
Steve Dower57675092018-09-24 07:44:50 -040066
67
Steve Dower57675092018-09-24 07:44:50 -040068- job: Ubuntu_Coverage_CI_Tests
69 displayName: Ubuntu CI Tests (coverage)
70 dependsOn: Prebuild
71 condition: |
72 and(
73 and(
74 succeeded(),
75 eq(variables['coverage'], 'true')
76 ),
77 eq(dependencies.Prebuild.outputs['tests.run'], 'true')
78 )
79
80 pool:
Steve Dower102b4982020-08-07 23:22:02 +010081 vmImage: ubuntu-18.04
Steve Dower57675092018-09-24 07:44:50 -040082
83 variables:
84 testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
85 testRunPlatform: linux-coverage
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)80d827c2020-06-13 02:16:36 +053086 openssl_version: 1.1.1g
Steve Dower57675092018-09-24 07:44:50 -040087
88 steps:
89 - template: ./posix-steps.yml
90 parameters:
Steve Dower28f6cb32019-01-22 10:49:52 -080091 dependencies: apt
Steve Dower57675092018-09-24 07:44:50 -040092 coverage: true
93
94
95- job: Windows_CI_Tests
96 displayName: Windows CI Tests
97 dependsOn: Prebuild
98 condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
99
100 pool:
Steve Dower801f9252019-09-10 16:53:03 +0100101 vmImage: windows-2019
Steve Dower57675092018-09-24 07:44:50 -0400102
103 strategy:
104 matrix:
105 win32:
106 arch: win32
Steve Dower2156d962020-11-18 17:24:36 +0000107 buildOpt: '-p Win32'
Steve Dower57675092018-09-24 07:44:50 -0400108 testRunTitle: '$(Build.SourceBranchName)-win32'
109 testRunPlatform: win32
110 win64:
111 arch: amd64
112 buildOpt: '-p x64'
113 testRunTitle: '$(Build.SourceBranchName)-win64'
114 testRunPlatform: win64
Steve Dowerde148f22019-11-20 09:30:47 -0800115 maxParallel: 4
Steve Dower57675092018-09-24 07:44:50 -0400116
117 steps:
118 - template: ./windows-steps.yml
Steve Dower872bd2b2019-01-08 02:38:01 -0800119
120 - template: ./windows-layout-steps.yml
121 parameters:
122 kind: nuget
123 - template: ./windows-layout-steps.yml
124 parameters:
125 kind: embed
126 - template: ./windows-layout-steps.yml
127 parameters:
128 kind: appx
Steve Dower28f6cb32019-01-22 10:49:52 -0800129 fulltest: true