appveyor / build-images

Automation scripts for creating AppVeyor build worker images
MIT License
72 stars 68 forks source link

VS2015+2017 - heavily outdated vcpkg #96

Open GitMensch opened 2 years ago

GitMensch commented 2 years ago

While it is possible to run git pull && ./bootstrap-vcpkg && vcpkg update && vcpkg update XXXX --no-dry-run on each build it is obviously not a good idea.

Can you please update the two images (ideally the newer ones, too) to a reasonable set with the following commands?

pushd c:\tools\vcpkg
git pull
bootstrap-vcpkg
vcpkg update
vcpkg install vcpkg-cmake vcpkg-cmake-config
vcpkg update vcpkg-cmake vcpkg-cmake-config --no-dry-run

The 2015 worker image currently has a vcpkg older than 11/2019.

Seen when updating it manually:

A suitable version of git was not found (required v2.32.0). Downloading portable git v2.32.0...
Downloading git...
  https://github.com/git-for-windows/git/releases/download/v2.32.0.windows.2/PortableGit-2.32.0.2-32-bit.7z.exe -> C:\Tools\vcpkg\downloads\PortableGit-2.32.0.2-32-bit.7z.exe
Extracting git...
A suitable version of powershell-core was not found (required v7.1.4). Downloading portable powershell-core v7.1.4...
Downloading powershell-core...
  https://github.com/PowerShell/PowerShell/releases/download/v7.1.4/PowerShell-7.1.4-win-x86.zip -> C:\Tools\vcpkg\downloads\PowerShell-7.1.4-win-x86.zip

So please try to update those, too.

GitMensch commented 2 years ago

Also checked VS2019 build:

A suitable version of git was not found (required v2.32.0). Downloading portable git v2.32.0...
Downloading git...
  https://github.com/git-for-windows/git/releases/download/v2.32.0.windows.2/PortableGit-2.32.0.2-32-bit.7z.exe -> C:\Tools\vcpkg\downloads\PortableGit-2.32.0.2-32-bit.7z.exe
Extracting git...
A suitable version of 7zip was not found (required v19.0.0). Downloading portable 7zip v19.0.0...
Downloading 7zip...
  https://www.7-zip.org/a/7z1900-x64.msi -> C:\Tools\vcpkg\downloads\7z1900-x64.msi
Extracting 7zip...

So it seems reasonable to update at least git + 7zip, likely also the vcpkg binary and index there, too.