azure-sdk-for-cpp/sdk/template/ci.yml
Daniel Jurek 198327e16c
Reduce incidence of build storms (#3079)
* Narrower build trigger matrix, introduce batching so changes to main don't trigger builds for every checkin if there are other builds running, expand core to test everything in CI

* Wire up CtestExcludeRegex

* Improvements including scoping to exclude storage tests

* Use correct trigger settings for storage
2021-11-08 15:01:50 -08:00

41 lines
1.1 KiB
YAML

# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger:
batch: true
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/template
pr:
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/template
stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: template
CtestRegex: azure-template
# The azure-template project has lower branch coverage than the default.
# This overrides the branch coverage floor until the issue can be
# addressed. Once it is addressed this line should be removed so that
# projects generated from this ci.yml file don't set a coverage target
# that is lower than the baseline defined in archetype-sdk-client.yml
# Issue: https://github.com/Azure/azure-sdk-for-cpp/issues/3022
BranchCoverageTarget: 33
Artifacts:
- Name: azure-template
Path: azure-template
VcpkgPortName: azure-template-cpp