azure-sdk-for-cpp/sdk/storage/ci.yml
2024-10-14 11:05:46 -07:00

62 lines
2.2 KiB
YAML

# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger:
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/storage
pr:
branches:
include:
- main
- feature/*
- release/*
- hotfix/*
paths:
include:
- sdk/storage
- eng/common/testproxy
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: storage
# Not running tests on CI but only on LiveTest mode
CtestRegex: azure-storage
LineCoverageTarget: 81
BranchCoverageTarget: 47
LiveTestCtestRegex: azure-storage
Artifacts:
- Name: azure-storage-common
Path: azure-storage-common
VcpkgPortName: azure-storage-common-cpp
- Name: azure-storage-blobs
Path: azure-storage-blobs
VcpkgPortName: azure-storage-blobs-cpp
- Name: azure-storage-files-datalake
Path: azure-storage-files-datalake
VcpkgPortName: azure-storage-files-datalake-cpp
- Name: azure-storage-files-shares
Path: azure-storage-files-shares
VcpkgPortName: azure-storage-files-shares-cpp
- Name: azure-storage-queues
Path: azure-storage-queues
VcpkgPortName: azure-storage-queues-cpp
TestEnv:
- Name: STANDARD_STORAGE_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
- Name: ADLS_GEN2_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
- Name: PREMIUM_FILE_CONNECTION_STRING
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
CMakeTestOptions:
- Name: Default
Value: ''
- Name: Test
Value: '-DBUILD_TESTING=ON'