mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 04:58:04 +08:00
6b117c9c7e
* [vcpkg docs] Change how documenting port functions works Instead of using `##`, use comment blocks for documentation. Also, add some minor docs and change RST -> MD so we actually get docs generated. * add CI stuff * regenerate docs * fix vcpkg_find_acquire_program to not use _execute_process
107 lines
2.7 KiB
YAML
107 lines
2.7 KiB
YAML
# Copyright (c) Microsoft Corporation.
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
variables:
|
|
windows-pool: 'PrWin-2020-08-12'
|
|
linux-pool: 'PrLin-2020-08-12'
|
|
osx-pool: 'PrOsx-2020-09-28'
|
|
|
|
stages:
|
|
- stage: check_cxx_formatting
|
|
displayName: 'Check the formatting of the C++'
|
|
pool: $(windows-pool)
|
|
jobs:
|
|
- job:
|
|
workspace:
|
|
clean: resources
|
|
steps:
|
|
- task: Powershell@2
|
|
displayName: 'Check C++ Formatting'
|
|
inputs:
|
|
filePath: 'scripts/azure-pipelines/windows/Check-CxxFormatting.ps1'
|
|
arguments: '-Root .'
|
|
pwsh: true
|
|
- stage: check_manifest_formatting
|
|
displayName: Check the formatting of port manifests
|
|
pool: $(windows-pool)
|
|
dependsOn: []
|
|
variables:
|
|
- name: VCPKG_DOWNLOADS
|
|
value: D:\downloads
|
|
jobs:
|
|
- job:
|
|
workspace:
|
|
clean: resources
|
|
steps:
|
|
- task: Powershell@2
|
|
displayName: 'Check port manifest Formatting'
|
|
inputs:
|
|
filePath: 'scripts/azure-pipelines/windows/Check-ManifestFormatting.ps1'
|
|
arguments: '-Root .'
|
|
pwsh: true
|
|
- 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
|
|
- stage: run_port_ci
|
|
displayName: 'Run the Port CI'
|
|
dependsOn:
|
|
- check_cxx_formatting
|
|
- check_manifest_formatting
|
|
- check_documentation_generation
|
|
jobs:
|
|
- 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
|
|
parameters:
|
|
poolName: $(osx-pool)
|
|
|
|
- template: linux/azure-pipelines.yml
|
|
parameters:
|
|
poolName: $(linux-pool)
|