2020-04-22 08:12:21 +08:00
|
|
|
# Copyright (c) Microsoft Corporation.
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
#
|
|
|
|
variables:
|
2020-07-02 01:53:10 +08:00
|
|
|
windows-pool: 'PrWin-2020-06-30'
|
|
|
|
linux-pool: 'PrLin-2020-06-30'
|
2020-06-12 02:13:09 +08:00
|
|
|
|
2020-07-08 05:09:33 +08:00
|
|
|
stages:
|
|
|
|
- stage: check_cxx_formatting
|
|
|
|
displayName: 'Check the formatting of the C++'
|
|
|
|
pool: $(windows-pool)
|
|
|
|
jobs:
|
|
|
|
- job:
|
2020-07-10 03:32:31 +08:00
|
|
|
workspace:
|
|
|
|
clean: resources
|
2020-07-08 05:09:33 +08:00
|
|
|
steps:
|
|
|
|
- task: Powershell@2
|
|
|
|
displayName: 'Check C++ Formatting'
|
|
|
|
inputs:
|
|
|
|
filePath: 'scripts/azure-pipelines/windows/Check-CxxFormatting.ps1'
|
|
|
|
arguments: '-Root .'
|
|
|
|
- stage: check_manifest_formatting
|
|
|
|
displayName: Check the formatting of port manifests
|
|
|
|
pool: $(windows-pool)
|
|
|
|
dependsOn: []
|
2020-08-11 01:22:51 +08:00
|
|
|
variables:
|
|
|
|
- name: VCPKG_DOWNLOADS
|
|
|
|
value: D:\downloads
|
2020-07-08 05:09:33 +08:00
|
|
|
jobs:
|
|
|
|
- job:
|
2020-07-10 03:32:31 +08:00
|
|
|
workspace:
|
|
|
|
clean: resources
|
2020-07-08 05:09:33 +08:00
|
|
|
steps:
|
|
|
|
- task: Powershell@2
|
|
|
|
displayName: 'Check port manifest Formatting'
|
|
|
|
inputs:
|
|
|
|
filePath: 'scripts/azure-pipelines/windows/Check-ManifestFormatting.ps1'
|
2020-08-11 01:22:51 +08:00
|
|
|
arguments: '-Root .'
|
2020-07-08 05:09:33 +08:00
|
|
|
- stage: run_port_ci
|
|
|
|
displayName: 'Run the Port CI'
|
|
|
|
dependsOn:
|
|
|
|
- check_cxx_formatting
|
|
|
|
- check_manifest_formatting
|
|
|
|
jobs:
|
2020-06-26 13:19:17 +08: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
|
|
|
|
|
|
|
|
- template: linux/azure-pipelines.yml
|
|
|
|
parameters:
|
|
|
|
poolName: $(linux-pool)
|