# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger:
  branches:
    include:
      - main
      - feature/*
      - release/*
      - hotfix/*
  paths:
    include:
      - cmake-modules/
      - eng/
      - CMakeLists.txt
      - sdk/core
      - sdk/keyvault

pr:
  branches:
    include:
      - main
      - feature/*
      - release/*
      - hotfix/*
  paths:
    include:
      - cmake-modules/
      - eng/
      - CMakeLists.txt
      - sdk/core/
      - sdk/keyvault

stages:
  - template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
    parameters:
      ServiceDirectory: keyvault
      CtestRegex: "azure-security-keyvault.*-unittest"
      LiveTestCtestRegex: "azure-security-keyvault.*-livetest"
      LiveTestTimeoutInMinutes: 120
      SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
      Artifacts:
        - Name: azure-security-keyvault-keys
          Path: azure-security-keyvault-keys
          VcpkgPortName: azure-security-keyvault-keys-cpp
