forked from dotnet/Nerdbank.Streams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
38 lines (35 loc) · 890 Bytes
/
azure-pipelines.yml
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
trigger:
batch: true
branches:
include:
- main
- 'v2.*'
- 'validate/*'
paths:
exclude:
- doc/
- '*.md'
- .vscode/
- .github/
- azure-pipelines/release.yml
parameters:
- name: includeMacOS
displayName: Build on macOS
type: boolean
default: false # macOS is often bogged down in Azure Pipelines
- name: RunTests
displayName: Run tests
type: boolean
default: true
variables:
TreatWarningsAsErrors: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
BuildConfiguration: Release
codecov_token: b8be69b5-6dc3-40f8-a4c7-4e13a42654a3
ci_feed: https://pkgs.dev.azure.com/andrewarnott/OSS/_packaging/PublicCI/nuget/v3/index.json
NUGET_PACKAGES: $(Agent.TempDirectory)/.nuget/packages/
jobs:
- template: azure-pipelines/build.yml
parameters:
includeMacOS: ${{ parameters.includeMacOS }}
RunTests: ${{ parameters.RunTests }}