Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 1 | variables: |
| 2 | manylinux: false |
| 3 | coverage: false |
| 4 | |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 5 | resources: |
| 6 | containers: |
| 7 | - container: manylinux1 |
| 8 | image: pyca/cryptography-manylinux1:x86_64 |
| 9 | |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 10 | jobs: |
| 11 | - job: Prebuild |
| 12 | displayName: Pre-build checks |
| 13 | |
| 14 | pool: |
| 15 | vmImage: ubuntu-16.04 |
| 16 | |
| 17 | steps: |
| 18 | - template: ./prebuild-checks.yml |
| 19 | |
| 20 | |
| 21 | - job: Docs_PR |
| 22 | displayName: Docs PR |
| 23 | dependsOn: Prebuild |
| 24 | condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true')) |
| 25 | |
| 26 | pool: |
| 27 | vmImage: ubuntu-16.04 |
| 28 | |
| 29 | steps: |
| 30 | - template: ./docs-steps.yml |
| 31 | parameters: |
| 32 | upload: true |
| 33 | |
| 34 | |
| 35 | - job: macOS_CI_Tests |
| 36 | displayName: macOS CI Tests |
| 37 | dependsOn: Prebuild |
Steve Dower | 31350f9 | 2020-03-07 00:11:47 +0000 | [diff] [blame^] | 38 | #condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) |
| 39 | # bpo-39837: macOS tests on Azure Pipelines are disabled |
| 40 | condition: false |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 41 | |
| 42 | variables: |
| 43 | testRunTitle: '$(build.sourceBranchName)-macos' |
| 44 | testRunPlatform: macos |
| 45 | |
| 46 | pool: |
Steve Dower | 801f925 | 2019-09-10 16:53:03 +0100 | [diff] [blame] | 47 | vmImage: macos-10.14 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 48 | |
| 49 | steps: |
| 50 | - template: ./macos-steps.yml |
| 51 | |
| 52 | |
| 53 | - job: Ubuntu_CI_Tests |
| 54 | displayName: Ubuntu CI Tests |
| 55 | dependsOn: Prebuild |
| 56 | condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) |
| 57 | |
| 58 | pool: |
| 59 | vmImage: ubuntu-16.04 |
| 60 | |
| 61 | variables: |
| 62 | testRunTitle: '$(build.sourceBranchName)-linux' |
| 63 | testRunPlatform: linux |
Christian Heimes | 58ab134 | 2019-09-11 18:45:52 +0200 | [diff] [blame] | 64 | openssl_version: 1.1.1d |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 65 | |
| 66 | steps: |
| 67 | - template: ./posix-steps.yml |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 68 | parameters: |
| 69 | dependencies: apt |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 70 | |
| 71 | |
| 72 | - job: ManyLinux1_CI_Tests |
| 73 | displayName: ManyLinux1 CI Tests |
| 74 | dependsOn: Prebuild |
| 75 | condition: | |
| 76 | and( |
| 77 | and( |
| 78 | succeeded(), |
| 79 | eq(variables['manylinux'], 'true') |
| 80 | ), |
| 81 | eq(dependencies.Prebuild.outputs['tests.run'], 'true') |
| 82 | ) |
| 83 | |
| 84 | pool: |
| 85 | vmImage: ubuntu-16.04 |
| 86 | |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 87 | container: manylinux1 |
| 88 | |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 89 | variables: |
| 90 | testRunTitle: '$(build.sourceBranchName)-manylinux1' |
| 91 | testRunPlatform: manylinux1 |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 92 | openssl_version: '' |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 93 | |
| 94 | steps: |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 95 | - template: ./posix-steps.yml |
| 96 | parameters: |
| 97 | dependencies: yum |
| 98 | sudo_dependencies: '' |
| 99 | xvfb: false |
| 100 | patchcheck: false |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 101 | |
| 102 | |
| 103 | - job: Ubuntu_Coverage_CI_Tests |
| 104 | displayName: Ubuntu CI Tests (coverage) |
| 105 | dependsOn: Prebuild |
| 106 | condition: | |
| 107 | and( |
| 108 | and( |
| 109 | succeeded(), |
| 110 | eq(variables['coverage'], 'true') |
| 111 | ), |
| 112 | eq(dependencies.Prebuild.outputs['tests.run'], 'true') |
| 113 | ) |
| 114 | |
| 115 | pool: |
| 116 | vmImage: ubuntu-16.04 |
| 117 | |
| 118 | variables: |
| 119 | testRunTitle: '$(Build.SourceBranchName)-linux-coverage' |
| 120 | testRunPlatform: linux-coverage |
Christian Heimes | 58ab134 | 2019-09-11 18:45:52 +0200 | [diff] [blame] | 121 | openssl_version: 1.1.1d |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 122 | |
| 123 | steps: |
| 124 | - template: ./posix-steps.yml |
| 125 | parameters: |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 126 | dependencies: apt |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 127 | coverage: true |
| 128 | |
| 129 | |
| 130 | - job: Windows_CI_Tests |
| 131 | displayName: Windows CI Tests |
| 132 | dependsOn: Prebuild |
| 133 | condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) |
| 134 | |
| 135 | pool: |
Steve Dower | 801f925 | 2019-09-10 16:53:03 +0100 | [diff] [blame] | 136 | vmImage: windows-2019 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 137 | |
| 138 | strategy: |
| 139 | matrix: |
| 140 | win32: |
| 141 | arch: win32 |
| 142 | buildOpt: |
| 143 | testRunTitle: '$(Build.SourceBranchName)-win32' |
| 144 | testRunPlatform: win32 |
| 145 | win64: |
| 146 | arch: amd64 |
| 147 | buildOpt: '-p x64' |
| 148 | testRunTitle: '$(Build.SourceBranchName)-win64' |
| 149 | testRunPlatform: win64 |
Steve Dower | de148f2 | 2019-11-20 09:30:47 -0800 | [diff] [blame] | 150 | maxParallel: 4 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 151 | |
| 152 | steps: |
| 153 | - template: ./windows-steps.yml |
Steve Dower | 872bd2b | 2019-01-08 02:38:01 -0800 | [diff] [blame] | 154 | |
| 155 | - template: ./windows-layout-steps.yml |
| 156 | parameters: |
| 157 | kind: nuget |
| 158 | - template: ./windows-layout-steps.yml |
| 159 | parameters: |
| 160 | kind: embed |
| 161 | - template: ./windows-layout-steps.yml |
| 162 | parameters: |
| 163 | kind: appx |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 164 | fulltest: true |