2020-04-21 17:12:21 -07:00
|
|
|
# Copyright (c) Microsoft Corporation.
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
#
|
|
|
|
variables:
|
2020-08-27 12:27:39 -07:00
|
|
|
windows-pool: 'PrWin-2020-08-12'
|
|
|
|
linux-pool: 'PrLin-2020-08-12'
|
2020-09-29 16:49:49 -07:00
|
|
|
osx-pool: 'PrOsx-2020-09-28'
|
2020-06-11 11:13:09 -07:00
|
|
|
|
2020-07-07 14:09:33 -07:00
|
|
|
stages:
|
|
|
|
- stage: check_cxx_formatting
|
|
|
|
displayName: 'Check the formatting of the C++'
|
|
|
|
pool: $(windows-pool)
|
|
|
|
jobs:
|
|
|
|
- job:
|
2020-07-09 12:32:31 -07:00
|
|
|
workspace:
|
|
|
|
clean: resources
|
2020-07-07 14:09:33 -07:00
|
|
|
steps:
|
|
|
|
- task: Powershell@2
|
|
|
|
displayName: 'Check C++ Formatting'
|
|
|
|
inputs:
|
|
|
|
filePath: 'scripts/azure-pipelines/windows/Check-CxxFormatting.ps1'
|
|
|
|
arguments: '-Root .'
|
2020-08-27 12:27:39 -07:00
|
|
|
pwsh: true
|
2020-07-07 14:09:33 -07:00
|
|
|
- stage: check_manifest_formatting
|
|
|
|
displayName: Check the formatting of port manifests
|
|
|
|
pool: $(windows-pool)
|
|
|
|
dependsOn: []
|
2020-08-10 10:22:51 -07:00
|
|
|
variables:
|
|
|
|
- name: VCPKG_DOWNLOADS
|
|
|
|
value: D:\downloads
|
2020-07-07 14:09:33 -07:00
|
|
|
jobs:
|
|
|
|
- job:
|
2020-07-09 12:32:31 -07:00
|
|
|
workspace:
|
|
|
|
clean: resources
|
2020-07-07 14:09:33 -07:00
|
|
|
steps:
|
|
|
|
- task: Powershell@2
|
|
|
|
displayName: 'Check port manifest Formatting'
|
|
|
|
inputs:
|
|
|
|
filePath: 'scripts/azure-pipelines/windows/Check-ManifestFormatting.ps1'
|
2020-08-10 10:22:51 -07:00
|
|
|
arguments: '-Root .'
|
2020-08-27 12:27:39 -07:00
|
|
|
pwsh: true
|
2020-12-01 13:37:26 -08:00
|
|
|
- stage: check_documentation_generation
|
|
|
|
displayName: Check if the documentation has been regenerated correctly
|
|
|
|
pool: $(windows-pool)
|
|
|
|
dependsOn: []
|
|
|
|
jobs:
|
|
|
|
- job:
|
|
|
|
workspace:
|
|
|
|
clean: resources
|
|
|
|
steps:
|
|
|
|
- task: Powershell@2
|
|
|
|
displayName: 'Check documentation generation'
|
|
|
|
inputs:
|
|
|
|
filePath: 'scripts/azure-pipelines/windows/Check-CMakeFunctionDocumentation.ps1'
|
|
|
|
arguments: '-Root .'
|
|
|
|
pwsh: true
|
2020-07-07 14:09:33 -07:00
|
|
|
- stage: run_port_ci
|
|
|
|
displayName: 'Run the Port CI'
|
|
|
|
dependsOn:
|
|
|
|
- check_cxx_formatting
|
|
|
|
- check_manifest_formatting
|
2020-12-01 13:37:26 -08:00
|
|
|
- check_documentation_generation
|
2020-07-07 14:09:33 -07:00
|
|
|
jobs:
|
2020-06-25 22:19:17 -07:00
|
|
|
- template: windows/azure-pipelines.yml
|
|
|
|
parameters:
|
|
|
|
triplet: x86-windows
|
|
|
|
jobName: x86_windows
|
|
|
|
poolName: $(windows-pool)
|
|
|
|
|
|
|
|
- template: windows/azure-pipelines.yml
|
|
|
|
parameters:
|
|
|
|
triplet: x64-windows
|
|
|
|
jobName: x64_windows
|
|
|
|
poolName: $(windows-pool)
|
|
|
|
|
|
|
|
- template: windows/azure-pipelines.yml
|
|
|
|
parameters:
|
|
|
|
triplet: x64-windows-static
|
|
|
|
jobName: x64_windows_static
|
|
|
|
poolName: $(windows-pool)
|
|
|
|
|
|
|
|
- template: windows/azure-pipelines.yml
|
|
|
|
parameters:
|
|
|
|
triplet: x64-uwp
|
|
|
|
jobName: x64_uwp
|
|
|
|
poolName: $(windows-pool)
|
|
|
|
|
|
|
|
- template: windows/azure-pipelines.yml
|
|
|
|
parameters:
|
|
|
|
triplet: arm64-windows
|
|
|
|
jobName: arm64_windows
|
|
|
|
poolName: $(windows-pool)
|
|
|
|
|
|
|
|
- template: windows/azure-pipelines.yml
|
|
|
|
parameters:
|
|
|
|
triplet: arm-uwp
|
|
|
|
jobName: arm_uwp
|
|
|
|
poolName: $(windows-pool)
|
|
|
|
|
|
|
|
- template: osx/azure-pipelines.yml
|
2020-09-24 15:15:06 -07:00
|
|
|
parameters:
|
|
|
|
poolName: $(osx-pool)
|
2020-06-25 22:19:17 -07:00
|
|
|
|
|
|
|
- template: linux/azure-pipelines.yml
|
|
|
|
parameters:
|
|
|
|
poolName: $(linux-pool)
|