Details about a particular pipeline change over time - such as the specific Linux distro or toolchain version. At the same time, the pipeline files are directly referenced in Azure Pipelines to run the pipeline and few users have access to change those details. To make the files less likely to refer to outdated information over time and reduce the need for an Azure Pipeline administrator to get involved, the files are updated to drop specific details apart from the host OS environment used in the pipeline. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
30 lines
766 B
YAML
30 lines
766 B
YAML
## @file
|
|
# Azure Pipeline build file for a build using Windows and Visual Studio
|
|
#
|
|
# Copyright (c) Microsoft Corporation.
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
##
|
|
trigger:
|
|
- master
|
|
- stable/*
|
|
|
|
pr:
|
|
- master
|
|
- stable/*
|
|
|
|
variables:
|
|
- template: templates/defaults.yml
|
|
|
|
jobs:
|
|
- template: templates/pr-gate-build-job.yml
|
|
parameters:
|
|
tool_chain_tag: 'VS2022'
|
|
vm_image: 'windows-2022'
|
|
arch_list: "IA32,X64"
|
|
usePythonVersion: ${{ variables.default_python_version }}
|
|
extra_install_step:
|
|
- powershell: choco install opencppcoverage; Write-Host "##vso[task.prependpath]C:\Program Files\OpenCppCoverage"
|
|
displayName: Install Code Coverage Tool
|
|
condition: and(gt(variables.pkg_count, 0), succeeded())
|
|
|