mirror of
https://github.com/python/cpython.git
synced 2024-12-14 12:26:47 +08:00
ede89af605
Upgrade builds to OpenSSL 1.1.1u. This OpenSSL version addresses a pile if less-urgent CVEs since 1.1.1t. The Mac/BuildScript/build-installer.py was already updated. Also updates _ssl_data_111.h from OpenSSL 1.1.1u, _ssl_data_300.h from 3.0.9, and adds a new _ssl_data_31.h file from 3.1.1 along with the ssl.c code to use it. Manual edits to the _ssl_data_300.h file prevent it from removing any existing definitions in case those exist in some peoples builds and were important (avoiding regressions during backporting). backports of this prior to 3.12 will not include the openssl 3.1 header.
124 lines
2.6 KiB
YAML
124 lines
2.6 KiB
YAML
variables:
|
|
coverage: false
|
|
|
|
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: Docs_PR
|
|
displayName: Docs PR
|
|
dependsOn: Prebuild
|
|
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['docs.run'], 'true'))
|
|
|
|
pool:
|
|
vmImage: ubuntu-22.04
|
|
|
|
steps:
|
|
- template: ./docs-steps.yml
|
|
|
|
|
|
- job: macOS_PR_Tests
|
|
displayName: macOS PR Tests
|
|
dependsOn: Prebuild
|
|
#condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
|
|
# bpo-39837: macOS tests on Azure Pipelines are disabled
|
|
condition: false
|
|
|
|
variables:
|
|
testRunTitle: '$(system.pullRequest.TargetBranch)-macos'
|
|
testRunPlatform: macos
|
|
|
|
pool:
|
|
vmImage: macos-10.15
|
|
|
|
steps:
|
|
- template: ./macos-steps.yml
|
|
parameters:
|
|
targetBranch: $(System.PullRequest.TargetBranch)
|
|
|
|
|
|
- job: Ubuntu_PR_Tests
|
|
displayName: Ubuntu PR Tests
|
|
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
|
|
parameters:
|
|
dependencies: apt
|
|
|
|
|
|
- job: Ubuntu_Coverage_PR_Tests
|
|
displayName: Ubuntu PR Tests (coverage)
|
|
dependsOn: Prebuild
|
|
condition: |
|
|
and(
|
|
and(
|
|
succeeded(),
|
|
eq(variables['coverage'], 'true')
|
|
),
|
|
eq(dependencies.Prebuild.outputs['tests.run'], 'true')
|
|
)
|
|
|
|
pool:
|
|
vmImage: ubuntu-22.04
|
|
|
|
variables:
|
|
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
|
|
testRunPlatform: linux-coverage
|
|
openssl_version: 1.1.1u
|
|
|
|
steps:
|
|
- template: ./posix-steps.yml
|
|
parameters:
|
|
dependencies: apt
|
|
coverage: true
|
|
|
|
|
|
- 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)
|