mirror of https://github.com/python/cpython.git
60 lines
1.3 KiB
YAML
60 lines
1.3 KiB
YAML
pr: ['main', '3.11', '3.10', '3.9', '3.8', '3.7']
|
|
|
|
jobs:
|
|
- job: Prebuild
|
|
displayName: Pre-build checks
|
|
|
|
pool:
|
|
vmImage: ubuntu-22.04
|
|
|
|
steps:
|
|
- template: ./prebuild-checks.yml
|
|
|
|
|
|
- job: Ubuntu_Patchcheck
|
|
displayName: Ubuntu patchcheck
|
|
dependsOn: Prebuild
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
pool:
|
|
vmImage: ubuntu-22.04
|
|
|
|
variables:
|
|
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
|
|
testRunPlatform: linux
|
|
openssl_version: 1.1.1u
|
|
|
|
steps:
|
|
- template: ./posix-steps.yml
|
|
|
|
|
|
- job: Windows_PR_Tests
|
|
displayName: Windows PR Tests
|
|
dependsOn: Prebuild
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
|
|
pool:
|
|
vmImage: windows-2022
|
|
|
|
strategy:
|
|
matrix:
|
|
win32:
|
|
arch: win32
|
|
buildOpt: '-p Win32'
|
|
testRunTitle: '$(System.PullRequest.TargetBranch)-win32'
|
|
testRunPlatform: win32
|
|
win64:
|
|
arch: amd64
|
|
buildOpt: '-p x64'
|
|
testRunTitle: '$(System.PullRequest.TargetBranch)-win64'
|
|
testRunPlatform: win64
|
|
winarm64:
|
|
arch: arm64
|
|
buildOpt: '-p arm64'
|
|
maxParallel: 4
|
|
|
|
steps:
|
|
- template: ./windows-steps.yml
|
|
parameters:
|
|
targetBranch: $(System.PullRequest.TargetBranch)
|