msquic/.azure/azure-pipelines.periodic.yml

150 строки
3.3 KiB
YAML

#
# Continuous Integration (CI)
# This pipeline builds and runs MsQuic performance RPS long run tests.
#
trigger: none
pr: none
schedules:
- cron: "0 0 * * Sun"
displayName: Weekly Perf Run
branches:
include:
- main
always: true
name: 0.$(Date:yyyy).$(Date:MM).$(DayOfMonth).$(Rev:rr).0
stages:
#
# Builds
#
- stage: build_winuser_schannel
displayName: Build Windows (Schannel)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
image: windows-latest
platform: windows
arch: x64
tls: schannel
config: Release
extraPrepareArgs: -DisableTest
extraBuildArgs: -DisableTest -DisableTools -PGO
- stage: build_winuser_openssl
displayName: Build Windows (OpenSSL)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
image: windows-latest
platform: windows
arch: x64
tls: openssl
config: Release
extraPrepareArgs: -DisableTest
extraBuildArgs: -DisableTest -DisableTools -PGO
- stage: build_winuser_openssl3
displayName: Build Windows (OpenSSL3)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
image: windows-latest
platform: windows
arch: x64
tls: openssl3
config: Release
extraPrepareArgs: -DisableTest
extraBuildArgs: -DisableTest -DisableTools -PGO
#
# Performance Tests
#
- stage: perf_winuser_schannel
displayName: Performance Testing Windows (Schannel)
dependsOn:
- build_winuser_schannel
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: schannel
remoteTls: schannel
arch: x64
testTypes: Remote
extraArgs: -PGO
failOnRegression: 0
- stage: perf_winuser_openssl
displayName: Performance Testing Windows (OpenSSL)
dependsOn:
- build_winuser_openssl
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: openssl
remoteTls: openssl
arch: x64
testTypes: Remote
extraArgs: -PGO
failOnRegression: 0
- stage: perf_winuser_openssl3
displayName: Performance Testing Windows (OpenSSL3)
dependsOn:
- build_winuser_openssl3
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: openssl3
remoteTls: openssl3
arch: x64
testTypes: Remote
extraArgs: -PGO
failOnRegression: 0
- stage: perf_winuser_xdp
displayName: Performance Testing Windows (XDP)
dependsOn:
- build_winuser_schannel
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: schannel
remoteTls: schannel
arch: x64
extraTestArgs: -XDP
testTypes: Remote
extraArgs: -PGO
failOnRegression: 0
- stage: make_pull_request
displayName: Make Pull Request
dependsOn:
- perf_winuser_schannel
- perf_winuser_openssl
- perf_winuser_openssl3
- perf_winuser_xdp
jobs:
- template: ./templates/make-pgo-pr.yml