aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-19 04:54:30 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-19 04:54:30 -0700
commit35f8d033b75ef7dccf3890a2cce96a8502059914 (patch)
treec1a5114bc03c3cf882f34a2682b71484466d1e3e
parent16a206b781c5f14d63689e98960d6648ee2be141 (diff)
downloadvcpkg-35f8d033b75ef7dccf3890a2cce96a8502059914.tar.gz
vcpkg-35f8d033b75ef7dccf3890a2cce96a8502059914.zip
[vcpkg] Add script for internal CI. This makes the set of built packages more transparent and updatable.
-rw-r--r--scripts/internalCI.ps122
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/internalCI.ps1 b/scripts/internalCI.ps1
new file mode 100644
index 000000000..1b41a77d9
--- /dev/null
+++ b/scripts/internalCI.ps1
@@ -0,0 +1,22 @@
+$ErrorActionPreference = "Stop"
+
+New-Item -type directory downloads -errorAction SilentlyContinue | Out-Null
+New-Item -type file downloads\AlwaysAllowDownloads -errorAction SilentlyContinue | Out-Null
+./scripts/bootstrap.ps1
+if (-not $?) { exit $? }
+
+# Clear out any intermediate files from the previous build
+Get-ChildItem buildtrees/*/* | ? Name -ne "src" | Remove-Item -Recurse -Force
+
+# Purge any outdated packages
+./vcpkg remove --outdated --recurse
+if (-not $?) { exit $? }
+
+./vcpkg.exe install azure-storage-cpp cpprestsdk:x64-windows-static cpprestsdk:x86-uwp
+if (-not $?) { exit $? }
+
+./vcpkg.exe install bond chakracore cryptopp zlib expat sdl2 curl sqlite3 libuv protobuf:x64-windows sfml opencv:x64-windows
+if (-not $?) { exit $? }
+
+./vcpkg.exe install opencv:x86-uwp
+if (-not $?) { exit $? }