mirror of
https://github.com/python/cpython.git
synced 2024-11-30 18:51:15 +01:00
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
trigger: ['main', '3.12', '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: Windows_CI_Tests
|
|
displayName: Windows CI 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: '$(Build.SourceBranchName)-win32'
|
|
testRunPlatform: win32
|
|
win64:
|
|
arch: amd64
|
|
buildOpt: '-p x64'
|
|
testRunTitle: '$(Build.SourceBranchName)-win64'
|
|
testRunPlatform: win64
|
|
maxParallel: 4
|
|
|
|
steps:
|
|
- template: ./windows-steps.yml
|
|
|
|
- template: ./windows-layout-steps.yml
|
|
parameters:
|
|
kind: nuget
|
|
- template: ./windows-layout-steps.yml
|
|
parameters:
|
|
kind: embed
|
|
- template: ./windows-layout-steps.yml
|
|
parameters:
|
|
kind: appx
|
|
fulltest: true
|