2019-08-01 18:44:08 +03:00
|
|
|
trigger:
|
2021-11-23 01:26:48 +03:00
|
|
|
batch: true
|
2019-08-01 18:44:08 +03:00
|
|
|
branches:
|
|
|
|
include:
|
2021-01-28 05:12:43 +03:00
|
|
|
- main
|
2019-10-02 21:20:14 +03:00
|
|
|
- 'v*'
|
2019-10-02 21:11:39 +03:00
|
|
|
- 'validate/*'
|
2019-08-01 18:44:08 +03:00
|
|
|
paths:
|
|
|
|
exclude:
|
|
|
|
- doc/
|
|
|
|
- '*.md'
|
|
|
|
- .vscode/
|
2020-09-22 02:15:43 +03:00
|
|
|
- .github/
|
2022-05-02 00:59:52 +03:00
|
|
|
- azure-pipelines/release.yml
|
2019-08-01 18:44:08 +03:00
|
|
|
|
2020-11-02 23:07:31 +03:00
|
|
|
parameters:
|
|
|
|
- name: includeMacOS
|
|
|
|
displayName: Build on macOS
|
|
|
|
type: boolean
|
|
|
|
default: false # macOS is often bogged down in Azure Pipelines
|
2022-08-04 18:16:02 +03:00
|
|
|
- name: RunTests
|
|
|
|
displayName: Run tests
|
|
|
|
type: boolean
|
|
|
|
default: true
|
2020-11-02 23:07:31 +03:00
|
|
|
|
2019-08-01 18:44:08 +03:00
|
|
|
variables:
|
|
|
|
TreatWarningsAsErrors: true
|
|
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
|
|
BuildConfiguration: Release
|
|
|
|
codecov_token: 9a7c2ba3-0a4b-4479-96e8-3bfd01a982f6
|
2022-05-12 17:41:05 +03:00
|
|
|
NUGET_PACKAGES: $(Agent.TempDirectory)/.nuget/packages/
|
2019-08-01 18:44:08 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
- template: azure-pipelines/build.yml
|
2020-04-18 16:38:22 +03:00
|
|
|
parameters:
|
2020-11-02 23:07:31 +03:00
|
|
|
includeMacOS: ${{ parameters.includeMacOS }}
|
2022-08-04 18:16:02 +03:00
|
|
|
RunTests: ${{ parameters.RunTests }}
|
2020-04-18 16:38:22 +03:00
|
|
|
ShouldSkipOptimize:
|
2020-04-14 19:35:18 +03:00
|
|
|
- template: azure-pipelines/richnav.yml
|