2018-09-24 08:44:50 -03:00
|
|
|
variables:
|
|
|
|
coverage: false
|
|
|
|
|
2022-05-08 00:01:20 -03:00
|
|
|
trigger: ['main', '3.11', '3.10', '3.9', '3.8', '3.7']
|
2019-01-22 14:49:52 -04:00
|
|
|
|
2018-09-24 08:44:50 -03:00
|
|
|
jobs:
|
|
|
|
- job: Prebuild
|
|
|
|
displayName: Pre-build checks
|
|
|
|
|
|
|
|
pool:
|
2023-01-21 05:01:31 -04:00
|
|
|
vmImage: ubuntu-22.04
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./prebuild-checks.yml
|
|
|
|
|
|
|
|
|
|
|
|
- job: Docs_PR
|
|
|
|
displayName: Docs PR
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true'))
|
|
|
|
|
|
|
|
pool:
|
2023-01-21 05:01:31 -04:00
|
|
|
vmImage: ubuntu-22.04
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./docs-steps.yml
|
|
|
|
parameters:
|
|
|
|
upload: true
|
|
|
|
|
|
|
|
|
|
|
|
- job: macOS_CI_Tests
|
|
|
|
displayName: macOS CI Tests
|
|
|
|
dependsOn: Prebuild
|
2020-03-06 20:11:47 -04:00
|
|
|
#condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
# bpo-39837: macOS tests on Azure Pipelines are disabled
|
|
|
|
condition: false
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
variables:
|
|
|
|
testRunTitle: '$(build.sourceBranchName)-macos'
|
|
|
|
testRunPlatform: macos
|
|
|
|
|
|
|
|
pool:
|
2021-08-29 11:18:57 -03:00
|
|
|
vmImage: macos-10.15
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./macos-steps.yml
|
|
|
|
|
|
|
|
|
|
|
|
- job: Ubuntu_CI_Tests
|
|
|
|
displayName: Ubuntu CI Tests
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
|
|
|
|
pool:
|
2023-01-21 05:01:31 -04:00
|
|
|
vmImage: ubuntu-22.04
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
variables:
|
|
|
|
testRunTitle: '$(build.sourceBranchName)-linux'
|
|
|
|
testRunPlatform: linux
|
2023-02-09 13:40:51 -04:00
|
|
|
openssl_version: 1.1.1t
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./posix-steps.yml
|
2019-01-22 14:49:52 -04:00
|
|
|
parameters:
|
|
|
|
dependencies: apt
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
|
|
|
|
- job: Ubuntu_Coverage_CI_Tests
|
|
|
|
displayName: Ubuntu CI Tests (coverage)
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: |
|
|
|
|
and(
|
|
|
|
and(
|
|
|
|
succeeded(),
|
|
|
|
eq(variables['coverage'], 'true')
|
|
|
|
),
|
|
|
|
eq(dependencies.Prebuild.outputs['tests.run'], 'true')
|
|
|
|
)
|
|
|
|
|
|
|
|
pool:
|
2023-01-21 05:01:31 -04:00
|
|
|
vmImage: ubuntu-22.04
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
variables:
|
|
|
|
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
|
|
|
|
testRunPlatform: linux-coverage
|
2023-02-09 13:40:51 -04:00
|
|
|
openssl_version: 1.1.1t
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./posix-steps.yml
|
|
|
|
parameters:
|
2019-01-22 14:49:52 -04:00
|
|
|
dependencies: apt
|
2018-09-24 08:44:50 -03:00
|
|
|
coverage: true
|
|
|
|
|
|
|
|
|
|
|
|
- job: Windows_CI_Tests
|
|
|
|
displayName: Windows CI Tests
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
|
|
|
|
pool:
|
2022-01-21 21:13:16 -04:00
|
|
|
vmImage: windows-2022
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
win32:
|
|
|
|
arch: win32
|
2020-11-18 13:24:36 -04:00
|
|
|
buildOpt: '-p Win32'
|
2018-09-24 08:44:50 -03:00
|
|
|
testRunTitle: '$(Build.SourceBranchName)-win32'
|
|
|
|
testRunPlatform: win32
|
|
|
|
win64:
|
|
|
|
arch: amd64
|
|
|
|
buildOpt: '-p x64'
|
|
|
|
testRunTitle: '$(Build.SourceBranchName)-win64'
|
|
|
|
testRunPlatform: win64
|
2019-11-20 13:30:47 -04:00
|
|
|
maxParallel: 4
|
2018-09-24 08:44:50 -03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./windows-steps.yml
|
2019-01-08 06:38:01 -04:00
|
|
|
|
|
|
|
- template: ./windows-layout-steps.yml
|
|
|
|
parameters:
|
|
|
|
kind: nuget
|
|
|
|
- template: ./windows-layout-steps.yml
|
|
|
|
parameters:
|
|
|
|
kind: embed
|
|
|
|
- template: ./windows-layout-steps.yml
|
|
|
|
parameters:
|
|
|
|
kind: appx
|
2019-01-22 14:49:52 -04:00
|
|
|
fulltest: true
|