From b59fd03f1185c41015b25cbbf7a88a20825f8996 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 2 Jun 2020 15:40:39 +0200 Subject: [PATCH] appveyor.yml: workaround vcpkg upstream build issue with VS2015 (see https://github.com/microsoft/vcpkg/issues/1166) [skip travis] --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 4e2b967d7c..dad1f35d7d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -23,9 +23,11 @@ cache: build_script: - set VCPKG_INSTALLED=C:\Tools\vcpkg\installed\%platform%-windows # If cached directory does not exist, update vcpkg and install dependencies + # The checkout of a precise sha1 for VS2015 is a workaround for https://github.com/microsoft/vcpkg/issues/11666 - if not exist %VCPKG_INSTALLED%\bin ( cd "C:\Tools\vcpkg" & git pull > nul & + (if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (git checkout a64dc07690bc8806e717e190f62eb58e198b599c)) & .\bootstrap-vcpkg.bat -disableMetrics & vcpkg install sqlite3[core,tool]:"%platform%"-windows & vcpkg install tiff:"%platform%"-windows &