2017-04-19 19:54:30 +08:00
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
|
2017-11-30 15:45:47 +08:00
|
|
|
rm TEST-internal-ci.xml -errorAction SilentlyContinue
|
|
|
|
|
2017-04-19 19:54:30 +08:00
|
|
|
New-Item -type directory downloads -errorAction SilentlyContinue | Out-Null
|
|
|
|
./scripts/bootstrap.ps1
|
2017-05-20 06:29:07 +08:00
|
|
|
if (-not $?) { throw $? }
|
2017-04-19 19:54:30 +08:00
|
|
|
|
|
|
|
# Clear out any intermediate files from the previous build
|
2017-10-25 08:08:24 +08:00
|
|
|
if (Test-Path buildtrees)
|
|
|
|
{
|
2017-11-30 15:45:47 +08:00
|
|
|
Get-ChildItem buildtrees/*/* | ? { $_.Name -ne "src" } | Remove-Item -Recurse -Force
|
2017-10-25 08:08:24 +08:00
|
|
|
}
|
2017-04-19 19:54:30 +08:00
|
|
|
|
|
|
|
# Purge any outdated packages
|
|
|
|
./vcpkg remove --outdated --recurse
|
2017-05-20 06:29:07 +08:00
|
|
|
if (-not $?) { throw $? }
|
2017-04-19 19:54:30 +08:00
|
|
|
|
2017-11-30 15:45:47 +08:00
|
|
|
./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"
|
2017-05-20 06:29:07 +08:00
|
|
|
if (-not $?) { throw $? }
|