mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 06:29:05 +08:00
23 lines
816 B
PowerShell
23 lines
816 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
rm TEST-internal-ci.xml -errorAction SilentlyContinue
|
|
|
|
New-Item -type directory downloads -errorAction SilentlyContinue | Out-Null
|
|
./scripts/bootstrap.ps1
|
|
if (-not $?) { throw $? }
|
|
|
|
# Clear out any intermediate files from the previous build
|
|
if (Test-Path buildtrees)
|
|
{
|
|
Get-ChildItem buildtrees/*/* | ? { $_.Name -ne "src" } | Remove-Item -Recurse -Force
|
|
}
|
|
|
|
# Purge any outdated packages
|
|
./vcpkg remove --outdated --recurse
|
|
if (-not $?) { throw $? }
|
|
|
|
./vcpkg.exe install azure-storage-cpp cpprestsdk:x64-windows-static cpprestsdk:x86-uwp `
|
|
bond cryptopp zlib expat sdl2 curl sqlite3 libuv protobuf:x64-windows sfml opencv:x64-windows uwebsockets uwebsockets:x64-windows-static `
|
|
opencv:x86-uwp boost:x86-uwp --keep-going "--x-xunit=TEST-internal-ci.xml"
|
|
if (-not $?) { throw $? }
|