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 |
| 38 | condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) |
| 39 | |
| 40 | variables: |
| 41 | testRunTitle: '$(build.sourceBranchName)-macos' |
| 42 | testRunPlatform: macos |
| 43 | |
| 44 | pool: |
Miss Islington (bot) | cdce233 | 2019-09-10 09:20:16 -0700 | [diff] [blame] | 45 | vmImage: macos-10.14 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 46 | |
| 47 | steps: |
| 48 | - template: ./macos-steps.yml |
| 49 | |
| 50 | |
| 51 | - job: Ubuntu_CI_Tests |
| 52 | displayName: Ubuntu CI Tests |
| 53 | dependsOn: Prebuild |
| 54 | condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) |
| 55 | |
| 56 | pool: |
| 57 | vmImage: ubuntu-16.04 |
| 58 | |
| 59 | variables: |
| 60 | testRunTitle: '$(build.sourceBranchName)-linux' |
| 61 | testRunPlatform: linux |
Miss Islington (bot) | 0b7f370 | 2019-09-11 10:09:28 -0700 | [diff] [blame] | 62 | openssl_version: 1.1.1d |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 63 | |
| 64 | steps: |
| 65 | - template: ./posix-steps.yml |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 66 | parameters: |
| 67 | dependencies: apt |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 68 | |
| 69 | |
| 70 | - job: ManyLinux1_CI_Tests |
| 71 | displayName: ManyLinux1 CI Tests |
| 72 | dependsOn: Prebuild |
| 73 | condition: | |
| 74 | and( |
| 75 | and( |
| 76 | succeeded(), |
| 77 | eq(variables['manylinux'], 'true') |
| 78 | ), |
| 79 | eq(dependencies.Prebuild.outputs['tests.run'], 'true') |
| 80 | ) |
| 81 | |
| 82 | pool: |
| 83 | vmImage: ubuntu-16.04 |
| 84 | |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 85 | container: manylinux1 |
| 86 | |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 87 | variables: |
| 88 | testRunTitle: '$(build.sourceBranchName)-manylinux1' |
| 89 | testRunPlatform: manylinux1 |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 90 | openssl_version: '' |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 91 | |
| 92 | steps: |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 93 | - template: ./posix-steps.yml |
| 94 | parameters: |
| 95 | dependencies: yum |
| 96 | sudo_dependencies: '' |
| 97 | xvfb: false |
| 98 | patchcheck: false |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 99 | |
| 100 | |
| 101 | - job: Ubuntu_Coverage_CI_Tests |
| 102 | displayName: Ubuntu CI Tests (coverage) |
| 103 | dependsOn: Prebuild |
| 104 | condition: | |
| 105 | and( |
| 106 | and( |
| 107 | succeeded(), |
| 108 | eq(variables['coverage'], 'true') |
| 109 | ), |
| 110 | eq(dependencies.Prebuild.outputs['tests.run'], 'true') |
| 111 | ) |
| 112 | |
| 113 | pool: |
| 114 | vmImage: ubuntu-16.04 |
| 115 | |
| 116 | variables: |
| 117 | testRunTitle: '$(Build.SourceBranchName)-linux-coverage' |
| 118 | testRunPlatform: linux-coverage |
Miss Islington (bot) | 0b7f370 | 2019-09-11 10:09:28 -0700 | [diff] [blame] | 119 | openssl_version: 1.1.1d |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 120 | |
| 121 | steps: |
| 122 | - template: ./posix-steps.yml |
| 123 | parameters: |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 124 | dependencies: apt |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 125 | coverage: true |
| 126 | |
| 127 | |
| 128 | - job: Windows_CI_Tests |
| 129 | displayName: Windows CI Tests |
| 130 | dependsOn: Prebuild |
| 131 | condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) |
| 132 | |
| 133 | pool: |
Miss Islington (bot) | cdce233 | 2019-09-10 09:20:16 -0700 | [diff] [blame] | 134 | vmImage: windows-2019 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 135 | |
| 136 | strategy: |
| 137 | matrix: |
| 138 | win32: |
| 139 | arch: win32 |
| 140 | buildOpt: |
| 141 | testRunTitle: '$(Build.SourceBranchName)-win32' |
| 142 | testRunPlatform: win32 |
| 143 | win64: |
| 144 | arch: amd64 |
| 145 | buildOpt: '-p x64' |
| 146 | testRunTitle: '$(Build.SourceBranchName)-win64' |
| 147 | testRunPlatform: win64 |
| 148 | maxParallel: 2 |
| 149 | |
| 150 | steps: |
| 151 | - template: ./windows-steps.yml |
Steve Dower | 872bd2b | 2019-01-08 02:38:01 -0800 | [diff] [blame] | 152 | |
| 153 | - template: ./windows-layout-steps.yml |
| 154 | parameters: |
| 155 | kind: nuget |
| 156 | - template: ./windows-layout-steps.yml |
| 157 | parameters: |
| 158 | kind: embed |
| 159 | - template: ./windows-layout-steps.yml |
| 160 | parameters: |
| 161 | kind: appx |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 162 | fulltest: true |