diff --git a/tools/ci-scripts/windows/ConvertTo-MsvcVersion.ps1 b/tools/ci-scripts/windows/ConvertTo-MsvcVersion.ps1 index 9c12cdb1fd..7c1f04d5b5 100644 --- a/tools/ci-scripts/windows/ConvertTo-MsvcVersion.ps1 +++ b/tools/ci-scripts/windows/ConvertTo-MsvcVersion.ps1 @@ -37,6 +37,7 @@ function ToVcToolsetVer([string]$imageName) 'Visual Studio 2013' { '12.0' } 'Visual Studio 2015' { '14.0' } 'Visual Studio 2017' { '14.1' } + 'Visual Studio 2019' { '14.2' } default { throw "Unknown image name '$imageName'" } } } @@ -48,6 +49,7 @@ function ToYear([string]$vcToolsetVer) '12.0' { '2013' } '14.0' { '2015' } '14.1' { '2017' } + '14.2' { '2019' } default { throw "Unknown VcToolsetVer '$vcToolsetVer'" } } } @@ -59,6 +61,7 @@ function ToCMakeGeneratorNum([string]$vcToolsetVer) '12.0' { '12' } '14.0' { '14' } '14.1' { '15' } + '14.2' { '16' } default { throw "Unknown VcToolsetVer '$vcToolsetVer'" } } } diff --git a/tools/ci-scripts/windows/Get-BoostLocation.ps1 b/tools/ci-scripts/windows/Get-BoostLocation.ps1 index 8aaa126f25..808c787ce4 100644 --- a/tools/ci-scripts/windows/Get-BoostLocation.ps1 +++ b/tools/ci-scripts/windows/Get-BoostLocation.ps1 @@ -22,7 +22,7 @@ param [string] $Version, - [ValidateSet('12.0', '14.0', '14.1')] + [ValidateSet('12.0', '14.0', '14.1', '14.2')] [string] $VcToolsetVer ) diff --git a/tools/ci-scripts/windows/Install-Boost.ps1 b/tools/ci-scripts/windows/Install-Boost.ps1 index 2fb7bc2cd2..c7af1fc7df 100644 --- a/tools/ci-scripts/windows/Install-Boost.ps1 +++ b/tools/ci-scripts/windows/Install-Boost.ps1 @@ -28,7 +28,7 @@ param [string] $Version, - [ValidateSet('12.0', '14.0', '14.1')] + [ValidateSet('12.0', '14.0', '14.1', '14.2')] [string] $VcToolsetVer,