mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 23:39:02 +08:00
229f537c94
* Add meson from https://github.com/microsoft/vcpkg/pull/12860/ * Add autoconf-archive from https://github.com/microsoft/vcpkg/pull/13081/ * Add kf5windowsystem libs from https://github.com/microsoft/vcpkg/pull/13467/ * Open the FTP and SFTP ports from https://github.com/microsoft/vcpkg/pull/14412/ * Add libxcb-util0-dev from https://github.com/microsoft/vcpkg/pull/14678/ * Add libasound2-dev from https://github.com/microsoft/vcpkg/pull/14774 * Remove no longer necessary apt-mark calls. * Update nasm on Linux. * Fix longstanding bug where Storage was publicly accessible and change to generate SAS token rather than File Share * Delete no longer necessary azure storage firewall rules. * Install the newer Windows SDK with the VS installer instead of manually. * Install the VS2015 and VS2017 compilers. * Update Powershell-Core to 7.1.0. * Update source of WDK. * Update pools. * [opentracing] Repair arm64-windows failures caused by mojibake in `expected.hpp` and errors in opentracing-cpp's lint for arm64 where it thinks exceptions are disabled when they are enabled. Fixes: C:\Dev\vcpkg\buildtrees\opentracing\src\b67575dab0-0250653c81.clean\3rd_party\include\opentracing/expected/expected.hpp(1): warning C4828: The file contains a character starting at offset 0x4a77 that is illegal in the current source character set (codepage 65001). Fixes: D:\buildtrees\opentracing\src\b67575dab0-0250653c81.clean\include\opentracing/tracer.h:223:5: error: cannot use 'try' with exceptions disabled [clang-diagnostic-error] try { ^ * [mmloader] Patch out overrides of CMAKE_C_FLAGS and CMAKE_CXX_FLAGS that inserted /WX. Note that this port sets /GS-, possibly because it may be for authoring shellcode. * Bump storage API version to 2020-04-08.
98 lines
2.6 KiB
YAML
98 lines
2.6 KiB
YAML
# Copyright (c) Microsoft Corporation.
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
variables:
|
|
windows-pool: 'PrWin-2020-12-17'
|
|
linux-pool: 'PrLin-2020-12-16'
|
|
osx-pool: 'PrOsx-2020-09-28'
|
|
|
|
stages:
|
|
- stage: FormatChecks
|
|
displayName: 'Formatting and Documentation Checks'
|
|
pool: $(windows-pool)
|
|
jobs:
|
|
- job:
|
|
workspace:
|
|
clean: resources
|
|
variables:
|
|
- name: VCPKG_DOWNLOADS
|
|
value: D:\downloads
|
|
- name: DiffFile
|
|
value: $(Build.ArtifactStagingDirectory)\format.diff
|
|
steps:
|
|
- task: Powershell@2
|
|
displayName: 'Format C++'
|
|
inputs:
|
|
filePath: 'scripts/azure-pipelines/Format-CxxCode.ps1'
|
|
arguments: '-Root .'
|
|
pwsh: true
|
|
- task: Powershell@2
|
|
displayName: 'Generate Documentation'
|
|
inputs:
|
|
filePath: 'docs/regenerate.ps1'
|
|
arguments: '-VcpkgRoot . -WarningAction Stop'
|
|
pwsh: true
|
|
- script: .\bootstrap-vcpkg.bat
|
|
displayName: 'Build vcpkg'
|
|
- script: '.\vcpkg format-manifest --all'
|
|
displayName: 'Format Manifests'
|
|
- task: Powershell@2
|
|
displayName: 'Create Diff'
|
|
inputs:
|
|
filePath: scripts/azure-pipelines/Create-FormatDiff.ps1
|
|
arguments: '-DiffFile $(DiffFile)'
|
|
pwsh: true
|
|
- task: PublishBuildArtifacts@1
|
|
condition: failed()
|
|
displayName: 'Publish C++ Diff'
|
|
inputs:
|
|
PathtoPublish: '$(DiffFile)'
|
|
ArtifactName: 'format.diff'
|
|
- stage: RunPrTests
|
|
displayName: 'Run PR Tests:'
|
|
dependsOn: FormatChecks
|
|
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)
|