40 строки
857 B
YAML
40 строки
857 B
YAML
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- main
|
|
- 'v*'
|
|
- '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: 9a7c2ba3-0a4b-4479-96e8-3bfd01a982f6
|
|
NUGET_PACKAGES: $(Agent.TempDirectory)/.nuget/packages/
|
|
|
|
jobs:
|
|
- template: azure-pipelines/build.yml
|
|
parameters:
|
|
includeMacOS: ${{ parameters.includeMacOS }}
|
|
RunTests: ${{ parameters.RunTests }}
|
|
ShouldSkipOptimize:
|
|
- template: azure-pipelines/richnav.yml
|