2019-10-08 05:34:34 +02:00
|
|
|
## @file
|
|
|
|
# Azure Pipeline build file for a build using Windows and VS2019
|
|
|
|
#
|
|
|
|
# Copyright (c) Microsoft Corporation.
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
##
|
|
|
|
trigger:
|
|
|
|
- master
|
2020-12-19 03:16:29 +01:00
|
|
|
- stable/*
|
2019-10-08 05:34:34 +02:00
|
|
|
|
|
|
|
pr:
|
|
|
|
- master
|
2020-12-19 03:16:29 +01:00
|
|
|
- stable/*
|
2019-10-08 05:34:34 +02:00
|
|
|
|
2023-01-16 18:40:28 +01:00
|
|
|
variables:
|
|
|
|
- template: templates/defaults.yml
|
|
|
|
|
2019-10-08 05:34:34 +02:00
|
|
|
jobs:
|
|
|
|
- template: templates/pr-gate-build-job.yml
|
|
|
|
parameters:
|
|
|
|
tool_chain_tag: 'VS2019'
|
2022-04-01 18:47:29 +02:00
|
|
|
vm_image: 'windows-2019'
|
2019-10-08 05:34:34 +02:00
|
|
|
arch_list: "IA32,X64"
|
2023-01-16 18:40:28 +01:00
|
|
|
usePythonVersion: ${{ variables.default_python_version }}
|
2022-11-08 09:38:49 +01:00
|
|
|
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())
|
|
|
|
|