2022-05-08 03:01:20 +00:00
|
|
|
pr: ['main', '3.11', '3.10', '3.9', '3.8', '3.7']
|
2019-01-22 18:49:52 +00:00
|
|
|
|
2018-09-24 11:44:50 +00:00
|
|
|
jobs:
|
|
|
|
- job: Prebuild
|
|
|
|
displayName: Pre-build checks
|
|
|
|
|
|
|
|
pool:
|
2023-01-21 14:39:37 +00:00
|
|
|
vmImage: ubuntu-22.04
|
2018-09-24 11:44:50 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./prebuild-checks.yml
|
|
|
|
|
|
|
|
|
2023-09-17 19:24:26 +00:00
|
|
|
- job: Ubuntu_Patchcheck
|
|
|
|
displayName: Ubuntu patchcheck
|
2018-09-24 11:44:50 +00:00
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
|
|
|
|
pool:
|
2023-01-21 14:39:37 +00:00
|
|
|
vmImage: ubuntu-22.04
|
2018-09-24 11:44:50 +00:00
|
|
|
|
|
|
|
variables:
|
|
|
|
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
|
|
|
|
testRunPlatform: linux
|
2023-06-01 18:07:53 +00:00
|
|
|
openssl_version: 1.1.1u
|
2018-09-24 11:44:50 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./posix-steps.yml
|
2019-01-22 18:49:52 +00:00
|
|
|
|
|
|
|
|
2018-09-24 11:44:50 +00:00
|
|
|
- job: Windows_PR_Tests
|
|
|
|
displayName: Windows PR Tests
|
|
|
|
dependsOn: Prebuild
|
|
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
|
|
|
|
pool:
|
2022-01-22 01:13:16 +00:00
|
|
|
vmImage: windows-2022
|
2018-09-24 11:44:50 +00:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
win32:
|
|
|
|
arch: win32
|
2020-11-18 17:24:36 +00:00
|
|
|
buildOpt: '-p Win32'
|
2018-09-24 11:44:50 +00:00
|
|
|
testRunTitle: '$(System.PullRequest.TargetBranch)-win32'
|
|
|
|
testRunPlatform: win32
|
|
|
|
win64:
|
|
|
|
arch: amd64
|
|
|
|
buildOpt: '-p x64'
|
|
|
|
testRunTitle: '$(System.PullRequest.TargetBranch)-win64'
|
|
|
|
testRunPlatform: win64
|
2019-11-20 17:30:47 +00:00
|
|
|
winarm64:
|
|
|
|
arch: arm64
|
|
|
|
buildOpt: '-p arm64'
|
|
|
|
maxParallel: 4
|
2018-09-24 11:44:50 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ./windows-steps.yml
|
|
|
|
parameters:
|
|
|
|
targetBranch: $(System.PullRequest.TargetBranch)
|