diff options
| author | Billy O'Neal <bion@microsoft.com> | 2020-12-22 14:52:58 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-22 14:52:58 -0800 |
| commit | 229f537c9414da5a577484b467a1f7ab0f4d8f34 (patch) | |
| tree | a4a61de332ac64af281acbc7fb6ba94a30cb6f35 /scripts/azure-pipelines/windows/initialize-environment.ps1 | |
| parent | b23b7ea09f9c9aa95cb6e5042e3b1ab1bb8d710d (diff) | |
| download | vcpkg-229f537c9414da5a577484b467a1f7ab0f4d8f34.tar.gz vcpkg-229f537c9414da5a577484b467a1f7ab0f4d8f34.zip | |
[opentracing] Update VMs 2020-12 (#15151)
* 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.
Diffstat (limited to 'scripts/azure-pipelines/windows/initialize-environment.ps1')
| -rw-r--r-- | scripts/azure-pipelines/windows/initialize-environment.ps1 | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/scripts/azure-pipelines/windows/initialize-environment.ps1 b/scripts/azure-pipelines/windows/initialize-environment.ps1 deleted file mode 100644 index 24520802e..000000000 --- a/scripts/azure-pipelines/windows/initialize-environment.ps1 +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright (c) Microsoft Corporation.
-# SPDX-License-Identifier: MIT
-#
-<#
-.SYNOPSIS
-Sets up the environment to run other vcpkg CI steps in an Azure Pipelines job.
-
-.DESCRIPTION
-This script maps network drives from infrastructure and cleans out anything that
-might have been leftover from a previous run.
-#>
-
-if ([string]::IsNullOrWhiteSpace($env:StorageAccountName) -or [string]::IsNullOrWhiteSpace($env:StorageAccountKey)) {
- Write-Host 'No storage account and/or key set, skipping mount of W:\'
-} else {
- $StorageAccountName = $env:StorageAccountName
- $StorageAccountKey = $env:StorageAccountKey
-
- Write-Host 'Setting up archives mount'
- if (-Not (Test-Path W:)) {
- net use W: "\\$StorageAccountName.file.core.windows.net\archives" /u:"AZURE\$StorageAccountName" $StorageAccountKey
- }
-}
-
-Write-Host 'Creating downloads directory'
-mkdir D:\downloads -ErrorAction SilentlyContinue
-
-# Delete entries in the downloads folder, except:
-# those in the 'tools' folder
-# those last accessed in the last 30 days
-Get-ChildItem -Path D:\downloads -Exclude "tools" `
- | Where-Object{ $_.LastAccessTime -lt (get-Date).AddDays(-30) } `
- | ForEach-Object{Remove-Item -Path $_ -Recurse -Force}
-
-# Msys sometimes leaves a database lock file laying around, especially if there was a failed job
-# which causes unrelated failures in jobs that run later on the machine.
-# work around this by just removing the vcpkg installed msys2 if it exists
-if( Test-Path D:\downloads\tools\msys2 )
-{
- Write-Host "removing previously installed msys2"
- Remove-Item D:\downloads\tools\msys2 -Recurse -Force
-}
|
