-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathdotnet-sqlclient-ci-package-reference-pipeline.yml
More file actions
138 lines (119 loc) · 3.36 KB
/
dotnet-sqlclient-ci-package-reference-pipeline.yml
File metadata and controls
138 lines (119 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
#################################################################################
# Licensed to the .NET Foundation under one or more agreements. #
# The .NET Foundation licenses this file to you under the MIT license. #
# See the LICENSE file in the project root for more information. #
#################################################################################
name: $(DayOfYear)$(Rev:rr)
# Trigger PR validation runs for all pushes to PRs that target the specified
# branches.
#
# https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#pr-triggers
#
pr:
branches:
include:
- release/6.1
paths:
include:
- .azuredevops
- .config
- doc
- eng
- src
- tools
- azurepipelines-coverage.yml
- build.proj
- NuGet.config
# Commit triggers for CI runs on specified branches.
#
# No paths filters are specified, so all commits to the branches will trigger a
# build.
#
trigger:
batch: true
branches:
include:
- release/6.1
- internal/release/6.1
# Scheduled runs.
schedules:
# GitHub main on Sundays
- cron: '30 4 * * Sun'
displayName: Sunday Run
branches:
include:
- release/6.1
always: true
# ADO internal/main on Sundays.
- cron: '30 5 * * Sun'
displayName: Sunday Run
branches:
include:
- internal/release/6.1
always: true
parameters: # parameters are shown up in ADO UI in a build queue time
- name: 'debug'
displayName: 'Enable debug output'
type: boolean
default: false
- name: targetFrameworks
displayName: 'Target Frameworks on Windows'
type: object
default: [net462, net8.0, net9.0]
- name: targetFrameworksLinux
displayName: 'Target Frameworks on Non-Windows'
type: object
default: [net8.0, net9.0]
- name: buildPlatforms
displayName: 'Build Platforms on Windows'
type: object
default: [AnyCPU]
- name: testSets
displayName: 'Test Sets'
type: object
default: [1, 2, 3]
- name: useManagedSNI
displayName: |
Use Managed/Native SNI on Windows,
values [false, true], [false] or [true] are allowed
type: object
default: [false, true]
- name: codeCovTargetFrameworks
displayName: 'Code Coverage Target Frameworks'
type: object
default: [net462, net8.0]
- name: buildType
displayName: 'Build Type'
default: Package
values:
- Project
- Package
- name: buildConfiguration
displayName: 'Build Configuration'
default: Release
values:
- Release
- Debug
- name: enableStressTests
displayName: Enable Stress Tests
type: boolean
default: false
# The timeout, in minutes, for each test job.
- name: testsTimeout
displayName: 'Tests timeout (in minutes)'
type: string
default: 90
extends:
template: dotnet-sqlclient-ci-core.yml@self
parameters:
debug: ${{ parameters.debug }}
targetFrameworks: ${{ parameters.targetFrameworks }}
targetFrameworksLinux: ${{ parameters.targetFrameworksLinux }}
buildPlatforms: ${{ parameters.buildPlatforms }}
testSets: ${{ parameters.testSets }}
useManagedSNI: ${{ parameters.useManagedSNI }}
codeCovTargetFrameworks: ${{ parameters.codeCovTargetFrameworks }}
buildType: ${{ parameters.buildType }}
buildConfiguration: ${{ parameters.buildConfiguration }}
enableStressTests: ${{ parameters.enableStressTests }}
testsTimeout: ${{ parameters.testsTimeout }}