2020-10-13 17:33:18 +03:00
|
|
|
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
|
|
|
|
trigger:
|
2021-11-09 02:01:50 +03:00
|
|
|
batch: true
|
2020-10-13 17:33:18 +03:00
|
|
|
branches:
|
|
|
|
include:
|
2021-06-18 18:55:34 +03:00
|
|
|
- main
|
2020-10-13 17:33:18 +03:00
|
|
|
- feature/*
|
|
|
|
- release/*
|
|
|
|
- hotfix/*
|
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- sdk/identity
|
|
|
|
|
|
|
|
pr:
|
|
|
|
branches:
|
|
|
|
include:
|
2021-06-18 18:55:34 +03:00
|
|
|
- main
|
2020-10-13 17:33:18 +03:00
|
|
|
- feature/*
|
|
|
|
- release/*
|
|
|
|
- hotfix/*
|
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- sdk/identity
|
|
|
|
|
2024-03-13 01:20:45 +03:00
|
|
|
extends:
|
|
|
|
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
2020-10-13 17:33:18 +03:00
|
|
|
parameters:
|
|
|
|
ServiceDirectory: identity
|
2021-12-15 00:42:08 +03:00
|
|
|
CtestRegex: azure-identity.
|
|
|
|
LiveTestCtestRegex: azure-identity.
|
2022-04-28 20:47:45 +03:00
|
|
|
LineCoverageTarget: 95
|
2023-03-08 07:24:44 +03:00
|
|
|
BranchCoverageTarget: 56
|
2020-10-13 17:33:18 +03:00
|
|
|
Artifacts:
|
|
|
|
- Name: azure-identity
|
|
|
|
Path: azure-identity
|
2021-01-14 01:35:18 +03:00
|
|
|
VcpkgPortName: azure-identity-cpp
|
2022-01-22 00:13:15 +03:00
|
|
|
ArtifactsSource:
|
|
|
|
- Name: azure-identity
|
|
|
|
Path: azure-identity
|
|
|
|
VcpkgPortName: azure-identity-cpp
|
2021-12-15 04:23:44 +03:00
|
|
|
TestEnv:
|
|
|
|
# Tenant ID should use the uniqueID format for playback recordings
|
|
|
|
- Name: AZURE_TENANT_ID
|
|
|
|
Value: "33333333-3333-3333-3333-333333333333"
|
|
|
|
- Name: AZURE_CLIENT_ID
|
|
|
|
Value: "non-real-client"
|
|
|
|
- Name: AZURE_CLIENT_SECRET
|
|
|
|
Value: "non-real-secret"
|
2022-01-12 02:49:56 +03:00
|
|
|
CMakeTestOptions:
|
|
|
|
- Name: Default
|
|
|
|
Value: ''
|
|
|
|
- Name: Test
|
|
|
|
Value: '-DBUILD_TESTING=ON'
|
|
|
|
- Name: Samples
|
|
|
|
Value: '-DBUILD_TESTING=ON -DBUILD_SAMPLES=ON'
|
|
|
|
- Name: Performance
|
|
|
|
Value: '-DBUILD_TESTING=ON -DBUILD_SAMPLES=ON -DBUILD_PERFORMANCE_TESTS=ON'
|
2022-01-22 00:13:15 +03:00
|
|
|
CMakeSourceTestOptions:
|
|
|
|
- Name: Source
|
|
|
|
Value: '-DFETCH_SOURCE_DEPS=ON'
|