Skip to content

Commit

Permalink
Vs2019 09 05 (#91)
Browse files Browse the repository at this point in the history
* Windows images update on September 5

Visual Studio 2019 version 16.11.2
Google Chrome 93.0.4577.63
Microsoft Edge 92.0.902.84
Firefox 91.0.2
Go 1.17, 1.16.7, 1.15.15
Python 3.9.7, 3.8.10, Pip 21.2.4
CMake 3.21.2
.NET Core 3.1.412, 5.0.400
Ruby 3.0.2-1, 2.7.4-1 and 2.6.8-1
PowerShell Core 7.1.4
OpenSSL 1.1.1L

* Update LLVM and other tools

LLVM 12.0.1
Boost 1.77.0
PostgreSQL 10.18, 11.13, 12.8, 13.4

* Node 16.8.0, 14.17.6, 12.22.6

* Build VS 2019 part 2

* Fix URL for .NET 4.7.2 DevPack

* Node 16.8.0
  • Loading branch information
FeodorFitsner authored Sep 4, 2021
1 parent 3fba70f commit b31c9c5
Show file tree
Hide file tree
Showing 23 changed files with 123 additions and 65 deletions.
3 changes: 2 additions & 1 deletion appveyor-build-vs2019-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ for:
- ps: .\install_postgres10.ps1
- ps: .\install_postgres11.ps1
- ps: .\install_postgres12.ps1
- ps: .\install_postgres13.ps1
- ps: .\install_mysql.ps1
- ps: .\install_mongo.ps1

Expand Down Expand Up @@ -280,8 +281,8 @@ for:
- ps: .\install_cygwin.ps1
- ps: .\install_mingw.ps1
- ps: .\install_mingw-w64.ps1
- ps: .\install_boost_1.71.0_vs2019.ps1
- ps: .\install_boost_1.73.0_vs2019.ps1
- ps: .\install_boost_1.77.0_vs2019.ps1

- ps: .\install_android_sdk.ps1
- appveyor PushArtifact %TEMP%\android-sdkmanager.log.zip
Expand Down
9 changes: 6 additions & 3 deletions scripts/Windows/avvm/node-versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@
12.20.0
12.20.1
12.22.1
12.22.6
13.0.0
13.0.1
13.1.0
Expand Down Expand Up @@ -358,13 +359,15 @@
14.15.1
14.15.4
14.17.0
14.17.6
15.0.0
15.2.0
15.4.0
15.5.1
15.6.0
15.14.0
16.3.0
lts:14.17.0
stable:14.17.0
current:16.3.0
16.8.0
lts:14.17.6
stable:14.17.6
current:16.8.0
8 changes: 3 additions & 5 deletions scripts/Windows/avvm/pack-node.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ $ErrorActionPreference = 'Stop'
$avvmRoot = 'c:\avvm\node'

$node_versions = @(
"10.24.1"
"12.22.1"
"14.17.0"
"15.14.0"
"16.3.0"
"12.22.6"
"14.17.6"
"16.8.0"
)

foreach($node_version in $node_versions) {
Expand Down
27 changes: 27 additions & 0 deletions scripts/Windows/install_boost_1.77.0_vs2019.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
. "$PSScriptRoot\common.ps1"

Write-Host "Installing boost 1.77.0..." -ForegroundColor Cyan

$StopWatch = New-Object System.Diagnostics.Stopwatch
$StopWatch.Start()

New-Item 'C:\Libraries' -ItemType Directory -Force

# 1.77.0
Measure-Command {
Write-Host "Installing boost 1.77.0..." -ForegroundColor Cyan

Write-Host "Downloading..."
$zipPath = "$env:TEMP\boost_1_77_0.7z"
(New-Object Net.WebClient).DownloadFile("https://appveyordownloads.blob.core.windows.net/misc/boost_1_77_0.7z", $zipPath)

Write-Host "Unpacking..."
7z x $zipPath -o"C:\Libraries" | Out-Null
Remove-Item $zipPath

Write-Host "Compressing..."
Start-ProcessWithOutput "compact /c /i /q /s:C:\Libraries\boost_1_77_0" -IgnoreStdOut
}

$StopWatch.Stop()
Write-Host "Boost libraries installed in $("{0:hh}:{0:mm}:{0:ss}" -f $StopWatch.elapsed)" -ForegroundColor Green
2 changes: 1 addition & 1 deletion scripts/Windows/install_dotnet_core_sdks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Install-SDK "2.2.402"
if (Test-Path "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019") {
Install-SDK "3.0.103"
Install-SDK "3.1.202"
Install-SDK "3.1.411"
Install-SDK "3.1.412"
}

# VS 2019 Preview
Expand Down
2 changes: 1 addition & 1 deletion scripts/Windows/install_dotnet_devpacks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ if (-not $env:INSTALL_LATEST_ONLY) {
install-devpack -version "4.7" -location "https://download.microsoft.com/download/A/1/D/A1D07600-6915-4CB8-A931-9A980EF47BB7/NDP47-DevPack-KB3186612-ENU.exe"
install-devpack -version "4.7.1" -location "https://download.microsoft.com/download/9/0/1/901B684B-659E-4CBD-BEC8-B3F06967C2E7/NDP471-DevPack-ENU.exe"
}
install-devpack -version "4.7.2" -location "https://download.microsoft.com/download/3/B/F/3BFB9C35-405D-45DF-BDAF-0EB57D047888/NDP472-DevPack-ENU.exe"
install-devpack -version "4.7.2" -location "https://download.visualstudio.microsoft.com/download/pr/158dce74-251c-4af3-b8cc-4608621341c8/9c1e178a11f55478e2112714a3897c1a/ndp472-devpack-enu.exe"
install-devpack -version "4.8" -location "https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/c8c829444416e811be84c5765ede6148/ndp48-devpack-enu.exe"
2 changes: 1 addition & 1 deletion scripts/Windows/install_edge_browser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Write-Host "Installing Microsoft Edge..." -ForegroundColor Cyan

Write-Host "Downloading..."
$msiPath = "$env:TEMP\MicrosoftEdgeEnterpriseX64.msi"
(New-Object Net.WebClient).DownloadFile('https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/55585448-a19c-4bde-90a7-1c72bb2ace31/MicrosoftEdgeEnterpriseX64.msi', $msiPath)
(New-Object Net.WebClient).DownloadFile('https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/734efada-a5dc-435d-a362-35cafffced51/MicrosoftEdgeEnterpriseX64.msi', $msiPath)

Write-Host "Installing..."
cmd /c start /wait msiexec /i "$msiPath" /qn /norestart
Expand Down
2 changes: 1 addition & 1 deletion scripts/Windows/install_firefox_browser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (test-path "${env:ProgramFiles(x86)}\Mozilla Firefox") {

Write-Host "Downloading..."
$exePath = "$env:TEMP\firefox-installer.exe"
(New-Object Net.WebClient).DownloadFile("https://download.mozilla.org/?product=firefox-87.0-ssl&os=$arch&lang=en-US", $exePath)
(New-Object Net.WebClient).DownloadFile("https://download.mozilla.org/?product=firefox-91.0.2-ssl&os=$arch&lang=en-US", $exePath)

Write-Host "Installing..."
cmd /c start /wait $exePath -ms
Expand Down
10 changes: 7 additions & 3 deletions scripts/Windows/install_go.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@

$go_versions = @(
@{
"version" = "1.16.5"
"folder" = "go116"
"version" = "1.17"
"folder" = "go117"
}
)

if (-not $env:INSTALL_LATEST_ONLY) {
$go_versions = $go_versions + @(
@{
"version" = "1.15.13"
"version" = "1.16.7"
"folder" = "go116"
}
@{
"version" = "1.15.15"
"folder" = "go115"
}
@{
Expand Down
2 changes: 1 addition & 1 deletion scripts/Windows/install_llvm.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$llvmVersion = "11.0.0"
$llvmVersion = "12.0.1"
Write-Host "Installing LLVM $llvmVersion ..." -ForegroundColor Cyan
Write-Host "Downloading..."
$exePath = "$env:temp\LLVM-$llvmVersion-win64.exe"
Expand Down
2 changes: 1 addition & 1 deletion scripts/Windows/install_llvm_extension_vs2019.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$vsixPath = "$env:TEMP\llvm.vsix"
Write-Host "Downloading llvm.vsix..."
(New-Object Net.WebClient).DownloadFile('https://llvmextensions.gallerycdn.vsassets.io/extensions/llvmextensions/llvm-toolchain/1.0.359557/1556628491732/llvm.vsix', $vsixPath)
(New-Object Net.WebClient).DownloadFile('https://llvmextensions.gallerycdn.vsassets.io/extensions/llvmextensions/llvm-toolchain/1.0.363769/1560930595399/llvm.vsix', $vsixPath)

$vsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Community"
if (-not (Test-Path $vsPath)) {
Expand Down
3 changes: 3 additions & 0 deletions scripts/Windows/install_nodejs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@
"12.20.0",
"12.20.1",
"12.22.1",
"12.22.6",
"13.0.0",
"13.0.1",
"13.1.0",
Expand Down Expand Up @@ -350,13 +351,15 @@
"14.15.1",
"14.15.4",
"14.17.0",
"14.17.6",
"15.0.0",
"15.2.0",
"15.4.0",
"15.5.1",
"15.6.0",
"15.14.0",
"16.3.0",
"16.8.0",
"8.11.1",
"8.11.2",
"8.11.3",
Expand Down
3 changes: 3 additions & 0 deletions scripts/Windows/install_nodejs_latest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@

$nodeVersions = @(
"12.22.1",
"12.22.6",
"13.14.0",
"15.14.0",
"16.3.0",
"16.8.0",
"14.17.0"
"14.17.6"
)

if (-not $env:INSTALL_LATEST_ONLY) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/Windows/install_openssl.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$110Letter = "L"
$111Letter = "k"
$111Letter = "L"
$102Letter = "u"

function GetUninstallString($productName) {
Expand Down
8 changes: 4 additions & 4 deletions scripts/Windows/install_postgres10.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#Write-Host "Pre-installing vcredist2013 (PostgreSQL 10.6 instalation has issues when doing it)..." -ForegroundColor Cyan
#choco install vcredist2013

Write-Host "Installing PostgreSQL 10.6..." -ForegroundColor Cyan
Write-Host "Installing PostgreSQL 10.18..." -ForegroundColor Cyan

Write-Host "Downloading..."
# http://www.enterprisedb.com/products-services-training/pgdownload#windows
$exePath = "$env:TEMP\postgresql-10.6-1-windows-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://get.enterprisedb.com/postgresql/postgresql-10.6-1-windows-x64.exe', $exePath)
$exePath = "$env:TEMP\postgresql-10.18-1-windows-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://get.enterprisedb.com/postgresql/postgresql-10.18-1-windows-x64.exe', $exePath)

Write-Host "Installing..."
cmd /c start /wait $exePath --mode unattended --install_runtimes 0 --superpassword Password12!
Expand All @@ -16,4 +16,4 @@ Write-Host "Setting up services..."
Stop-Service postgresql-x64-10
Set-Service -Name postgresql-x64-10 -StartupType Manual

Write-Host "PostgreSQL 10.6 installed" -ForegroundColor Green
Write-Host "PostgreSQL 10.18 installed" -ForegroundColor Green
8 changes: 4 additions & 4 deletions scripts/Windows/install_postgres11.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#Write-Host "Pre-installing vcredist2015 (PostgreSQL 10.6 instalation has issues when doing it)..." -ForegroundColor Cyan
#choco install vcredist2015

Write-Host "Installing PostgreSQL 11.1..." -ForegroundColor Cyan
Write-Host "Installing PostgreSQL 11.13..." -ForegroundColor Cyan

Write-Host "Downloading..."
# http://www.enterprisedb.com/products-services-training/pgdownload#windows
$exePath = "$env:TEMP\postgresql-11.1-1-windows-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://get.enterprisedb.com/postgresql/postgresql-11.1-1-windows-x64.exe', $exePath)
$exePath = "$env:TEMP\postgresql-11.13-1-windows-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://get.enterprisedb.com/postgresql/postgresql-11.13-1-windows-x64.exe', $exePath)

Write-Host "Installing..."
cmd /c start /wait $exePath --mode unattended --install_runtimes 0 --superpassword Password12!
Expand All @@ -16,4 +16,4 @@ Write-Host "Setting up services..."
Stop-Service postgresql-x64-11
Set-Service -Name postgresql-x64-11 -StartupType Manual

Write-Host "PostgreSQL 11.1 installed" -ForegroundColor Green
Write-Host "PostgreSQL 11.13 installed" -ForegroundColor Green
8 changes: 4 additions & 4 deletions scripts/Windows/install_postgres12.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#Write-Host "Pre-installing vcredist2015 (PostgreSQL 10.6 instalation has issues when doing it)..." -ForegroundColor Cyan
#choco install vcredist2015

Write-Host "Installing PostgreSQL 12.1..." -ForegroundColor Cyan
Write-Host "Installing PostgreSQL 12.8..." -ForegroundColor Cyan

Write-Host "Downloading..."
# http://www.enterprisedb.com/products-services-training/pgdownload#windows
$exePath = "$env:TEMP\postgresql-12.1-1-windows-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://get.enterprisedb.com/postgresql/postgresql-12.1-1-windows-x64.exe', $exePath)
$exePath = "$env:TEMP\postgresql-12.8-1-windows-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://get.enterprisedb.com/postgresql/postgresql-12.8-1-windows-x64.exe', $exePath)

Write-Host "Installing..."
cmd /c start /wait $exePath --mode unattended --install_runtimes 0 --superpassword Password12!
Expand All @@ -16,4 +16,4 @@ Write-Host "Setting up services..."
Stop-Service postgresql-x64-12
Set-Service -Name postgresql-x64-12 -StartupType Manual

Write-Host "PostgreSQL 12.1 installed" -ForegroundColor Green
Write-Host "PostgreSQL 12.8 installed" -ForegroundColor Green
19 changes: 19 additions & 0 deletions scripts/Windows/install_postgres13.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#Write-Host "Pre-installing vcredist2015 (PostgreSQL 10.6 instalation has issues when doing it)..." -ForegroundColor Cyan
#choco install vcredist2015

Write-Host "Installing PostgreSQL 13.4..." -ForegroundColor Cyan

Write-Host "Downloading..."
# http://www.enterprisedb.com/products-services-training/pgdownload#windows
$exePath = "$env:TEMP\postgresql-13.4-1-windows-x64.exe"
(New-Object Net.WebClient).DownloadFile('https://get.enterprisedb.com/postgresql/postgresql-13.4-1-windows-x64.exe', $exePath)

Write-Host "Installing..."
cmd /c start /wait $exePath --mode unattended --install_runtimes 0 --superpassword Password12!
Remove-Item $exePath -ErrorAction SilentlyContinue

Write-Host "Setting up services..."
Stop-Service postgresql-x64-13
Set-Service -Name postgresql-x64-13 -StartupType Manual

Write-Host "PostgreSQL 13.4 installed" -ForegroundColor Green
2 changes: 1 addition & 1 deletion scripts/Windows/install_powershell_core.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$version = '7.1.3'
$version = '7.1.4'

Write-Host "Installing PowerShell Core $version"
Write-Host "=========================="
Expand Down
34 changes: 17 additions & 17 deletions scripts/Windows/install_python.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# https://stackoverflow.com/questions/30699782/access-is-denied-while-upgrading-pip-exe-on-windows/35580525#35580525
#

$pipVersion = "20.0.2"
$pipVersion = "21.2.4"

function UpdatePythonPath($pythonPath) {
$env:path = ($env:path -split ';' | Where-Object { -not $_.contains('\Python') }) -join ';'
Expand Down Expand Up @@ -288,55 +288,55 @@ if (-not $env:INSTALL_LATEST_ONLY) {
UpdatePip "$env:SystemDrive\Python37-x64"
}

# Python 3.8.7 x64
$python38_x64 = (GetUninstallString 'Python 3.8.7 (64-bit)')
# Python 3.8.10 x64
$python38_x64 = (GetUninstallString 'Python 3.8.10 (64-bit)')
if($python38_x64) {
Write-Host 'Python 3.8.7 x64 already installed'
Write-Host 'Python 3.8.10 x64 already installed'
} else {

UninstallPython "Python 3.8.0 (64-bit)"
UninstallPython "Python 3.8.2 (64-bit)"
UninstallPython "Python 3.8.5 (64-bit)"

InstallPythonEXE "3.8.7" "x64" "$env:SystemDrive\Python38-x64"
InstallPythonEXE "3.8.10" "x64" "$env:SystemDrive\Python38-x64"
}

# Python 3.8.7
$python38 = (GetUninstallString 'Python 3.8.7 (32-bit)')
# Python 3.8.10
$python38 = (GetUninstallString 'Python 3.8.10 (32-bit)')
if($python38) {
Write-Host 'Python 3.8.7 already installed'
Write-Host 'Python 3.8.10 already installed'
} else {

UninstallPython "Python 3.8.0 (32-bit)"
UninstallPython "Python 3.8.2 (32-bit)"
UninstallPython "Python 3.8.5 (32-bit)"

InstallPythonEXE "3.8.7" "x86" "$env:SystemDrive\Python38"
InstallPythonEXE "3.8.10" "x86" "$env:SystemDrive\Python38"
}

UpdatePip "$env:SystemDrive\Python38"
UpdatePip "$env:SystemDrive\Python38-x64"

# Python 3.9.1 x64
$python39_x64 = (GetUninstallString 'Python 3.9.1 (64-bit)')
# Python 3.9.7 x64
$python39_x64 = (GetUninstallString 'Python 3.9.7 (64-bit)')
if($python39_x64) {
Write-Host 'Python 3.9.1 x64 already installed'
Write-Host 'Python 3.9.7 x64 already installed'
} else {

#UninstallPython "Python 3.8.5 (64-bit)"

InstallPythonEXE "3.9.1" "x64" "$env:SystemDrive\Python39-x64"
InstallPythonEXE "3.9.7" "x64" "$env:SystemDrive\Python39-x64"
}

# Python 3.9.1
$python39 = (GetUninstallString 'Python 3.9.1 (32-bit)')
# Python 3.9.7
$python39 = (GetUninstallString 'Python 3.9.7 (32-bit)')
if($python39) {
Write-Host 'Python 3.9.1 already installed'
Write-Host 'Python 3.9.7 already installed'
} else {

#UninstallPython "Python 3.8.5 (32-bit)"

InstallPythonEXE "3.9.1" "x86" "$env:SystemDrive\Python39"
InstallPythonEXE "3.9.7" "x86" "$env:SystemDrive\Python39"
}

UpdatePip "$env:SystemDrive\Python39"
Expand Down
Loading

0 comments on commit b31c9c5

Please sign in to comment.