azure-cosmos-dotnet-v3/azure-pipelines.yml

74 строки
1.9 KiB
YAML

# A pipeline with no CI trigger
trigger: none
pr:
branches:
include:
- master
- releases/*
paths:
include:
- '*'
exclude:
- '*.md'
- 'docs/**/*'
- 'Microsoft.Azure.Cosmos/contracts/**/*'
variables:
DebugArguments: ' --filter "TestCategory!=Flaky & TestCategory!=Quarantine & TestCategory!=Functional" --verbosity normal '
ReleaseArguments: ' --filter "TestCategory!=Flaky & TestCategory!=Quarantine & TestCategory!=Functional" --verbosity normal '
VmImage: windows-latest # https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
jobs:
- template: templates/static-tools.yml
parameters:
BuildConfiguration: Release
VmImage: $(VmImage)
- template: templates/nuget-pack.yml
parameters:
BuildConfiguration: Release
VmImage: $(VmImage)
ReleasePackage: false
OutputPath: '$(Build.ArtifactStagingDirectory)/bin/AnyCPU/Release/Microsoft.Azure.Cosmos'
- template: templates/build-ctl.yml
parameters:
BuildConfiguration: Release
Arguments: $(ReleaseArguments)
VmImage: $(VmImage)
- template: templates/build-samples.yml
parameters:
BuildConfiguration: Release
Arguments: $(ReleaseArguments)
VmImage: $(VmImage)
- template: templates/build-test.yml
parameters:
BuildConfiguration: Release
Arguments: $(ReleaseArguments)
VmImage: $(VmImage)
MultiRegionConnectionString: $(COSMOSDB_MULTI_REGION)
IncludePerformance: false
IncludeCoverage: false
- template: templates/build-internal.yml
parameters:
BuildConfiguration: Release
Arguments: $(ReleaseArguments)
VmImage: $(VmImage)
- template: templates/build-preview.yml
parameters:
BuildConfiguration: Release
Arguments: $(ReleaseArguments)
VmImage: $(VmImage)
- template: templates/build-benchmark.yml
parameters:
BuildConfiguration: Release
Arguments: $(ReleaseArguments)
VmImage: $(VmImage)