Windows-VS2019.yml 759 B

1234567891011121314151617181920212223242526272829
  1. ## @file
  2. # Azure Pipeline build file for a build using Windows and VS2019
  3. #
  4. # Copyright (c) Microsoft Corporation.
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. ##
  7. trigger:
  8. - master
  9. - stable/*
  10. pr:
  11. - master
  12. - stable/*
  13. variables:
  14. - template: templates/defaults.yml
  15. jobs:
  16. - template: templates/pr-gate-build-job.yml
  17. parameters:
  18. tool_chain_tag: 'VS2019'
  19. vm_image: 'windows-2019'
  20. arch_list: "IA32,X64"
  21. usePythonVersion: ${{ variables.default_python_version }}
  22. extra_install_step:
  23. - powershell: choco install opencppcoverage; Write-Host "##vso[task.prependpath]C:\Program Files\OpenCppCoverage"
  24. displayName: Install Code Coverage Tool
  25. condition: and(gt(variables.pkg_count, 0), succeeded())