Switch provisioners to install Boost from GitHub releases on Ubuntu (#995)

* switched provisioners to install Boost from GitHub releases on Ubuntu
* removed DocumentInstalledItem from boost.sh

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
This commit is contained in:
Nikita Bykov
2020-06-16 12:07:23 +03:00
committed by GitHub
parent 68a72ab612
commit 40caaf3e2c
7 changed files with 34 additions and 20 deletions

View File

@@ -45,8 +45,8 @@ foreach($tool in $tools) {
foreach ($version in $tool.versions) {
# Add wildcard if missing
if (-not $version.Contains('*')) {
$version += '.*'
if ($version.Split(".").Length -lt 3) {
$version += ".*"
}
# Check if version folder exists
@@ -62,9 +62,10 @@ foreach($tool in $tools) {
| Select-Object -First 1
$foundVersionPath = Join-Path $foundVersion $tool.arch
Write-Host "Run validation test for $($tool.name)($($tool.arch)) $($foundVersion.name) executables..."
Run-ExecutableTests -Executables $toolExecs -ToolPath $foundVersionPath
if ($toolExecs) {
Write-Host "Run validation test for $($tool.name)($($tool.arch)) $($foundVersion.name) executables..."
Run-ExecutableTests -Executables $toolExecs -ToolPath $foundVersionPath
}
$foundVersionName = $foundVersion.name
if ($tool.name -eq 'PyPy')
{