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

135 строки
3.0 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
#
2022-08-23 02:09:24 +03:00
- stage: build_winuser_schannel
displayName: Build Windows (Schannel)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
2022-08-23 02:09:24 +03:00
image: windows-latest
platform: windows
arch: x64
tls: schannel
config: Release
2022-03-12 00:08:56 +03:00
extraPrepareArgs: -DisableTest
2022-08-23 02:09:24 +03:00
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_xdp
displayName: Build Windows (XDP)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
image: windows-latest
platform: windows
arch: x64
tls: schannel
config: Release
extraName: 'xdp'
extraPrepareArgs: -DisableTest -InstallXdpSdk
extraBuildArgs: -DisableTest -DisableTools -UseXdp -ExtraArtifactDir Xdp -PGO
#
# Performance Tests
#
2022-08-23 02:09:24 +03:00
- stage: perf_winuser_schannel
displayName: Performance Testing Windows (Schannel)
dependsOn:
2022-08-23 02:09:24 +03:00
- build_winuser_schannel
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: schannel
remoteTls: schannel
arch: x64
testTypes: Remote
2022-08-23 02:09:24 +03:00
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_xdp
displayName: Performance Testing Windows (XDP)
dependsOn:
- build_winuser_xdp
jobs:
- template: ./templates/run-performance.yml
parameters:
pool: MsQuic-Win-Perf
platform: windows
localTls: schannel
remoteTls: schannel
arch: x64
extraArtifactDir: '_Xdp'
extraTestArgs: -ExtraArtifactDir _Xdp -XDP
testTypes: Remote
extraArgs: -PGO
failOnRegression: 0
2022-08-23 02:09:24 +03:00
- stage: make_pull_request
displayName: Make Pull Request
dependsOn:
2022-08-23 02:09:24 +03:00
- perf_winuser_schannel
- perf_winuser_openssl
- perf_winuser_xdp
jobs:
2022-08-23 02:09:24 +03:00
- template: ./templates/make-pgo-pr.yml