Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 1 | variables: |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 2 | coverage: false |
| 3 | |
Steve Dower | 102b498 | 2020-08-07 23:22:02 +0100 | [diff] [blame] | 4 | trigger: ['master', '3.9', '3.8', '3.7'] |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 5 | |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 6 | jobs: |
| 7 | - job: Prebuild |
| 8 | displayName: Pre-build checks |
| 9 | |
| 10 | pool: |
Steve Dower | 102b498 | 2020-08-07 23:22:02 +0100 | [diff] [blame] | 11 | vmImage: ubuntu-18.04 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 12 | |
| 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 Dower | 102b498 | 2020-08-07 23:22:02 +0100 | [diff] [blame] | 23 | vmImage: ubuntu-18.04 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 24 | |
| 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 Dower | 31350f9 | 2020-03-07 00:11:47 +0000 | [diff] [blame] | 34 | #condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true')) |
| 35 | # bpo-39837: macOS tests on Azure Pipelines are disabled |
| 36 | condition: false |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 37 | |
| 38 | variables: |
| 39 | testRunTitle: '$(build.sourceBranchName)-macos' |
| 40 | testRunPlatform: macos |
| 41 | |
| 42 | pool: |
Steve Dower | 801f925 | 2019-09-10 16:53:03 +0100 | [diff] [blame] | 43 | vmImage: macos-10.14 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 44 | |
| 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 Dower | 102b498 | 2020-08-07 23:22:02 +0100 | [diff] [blame] | 55 | vmImage: ubuntu-18.04 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 56 | |
| 57 | variables: |
| 58 | testRunTitle: '$(build.sourceBranchName)-linux' |
| 59 | testRunPlatform: linux |
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 80d827c | 2020-06-13 02:16:36 +0530 | [diff] [blame] | 60 | openssl_version: 1.1.1g |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 61 | |
| 62 | steps: |
| 63 | - template: ./posix-steps.yml |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 64 | parameters: |
| 65 | dependencies: apt |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 66 | |
| 67 | |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 68 | - 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 Dower | 102b498 | 2020-08-07 23:22:02 +0100 | [diff] [blame] | 81 | vmImage: ubuntu-18.04 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 82 | |
| 83 | variables: |
| 84 | testRunTitle: '$(Build.SourceBranchName)-linux-coverage' |
| 85 | testRunPlatform: linux-coverage |
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 80d827c | 2020-06-13 02:16:36 +0530 | [diff] [blame] | 86 | openssl_version: 1.1.1g |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 87 | |
| 88 | steps: |
| 89 | - template: ./posix-steps.yml |
| 90 | parameters: |
Steve Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 91 | dependencies: apt |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 92 | 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 Dower | 801f925 | 2019-09-10 16:53:03 +0100 | [diff] [blame] | 101 | vmImage: windows-2019 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 102 | |
| 103 | strategy: |
| 104 | matrix: |
| 105 | win32: |
| 106 | arch: win32 |
Steve Dower | 2156d96 | 2020-11-18 17:24:36 +0000 | [diff] [blame] | 107 | buildOpt: '-p Win32' |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 108 | 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 Dower | de148f2 | 2019-11-20 09:30:47 -0800 | [diff] [blame] | 115 | maxParallel: 4 |
Steve Dower | 5767509 | 2018-09-24 07:44:50 -0400 | [diff] [blame] | 116 | |
| 117 | steps: |
| 118 | - template: ./windows-steps.yml |
Steve Dower | 872bd2b | 2019-01-08 02:38:01 -0800 | [diff] [blame] | 119 | |
| 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 Dower | 28f6cb3 | 2019-01-22 10:49:52 -0800 | [diff] [blame] | 129 | fulltest: true |