From abb52b7dae5402dcc497278d34421da49b20c71f Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 19 Aug 2018 17:33:15 +0200 Subject: [PATCH] tentative fix of appveyor script --- .appveyor.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 4f553360..4db76ce6 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -12,6 +12,17 @@ image: - Visual Studio 2015 - Visual Studio 2017 +cache: + - C:\cmake-3.8.0-win32-x86 + +install: + - ps: | + if (![IO.File]::Exists("C:\cmake-3.8.0-win32-x86\bin\cmake.exe")) { + Start-FileDownload 'https://cmake.org/files/v3.8/cmake-3.8.0-win32-x86.zip' + 7z x -y cmake-3.8.0-win32-x86.zip -oC:\ + } + $env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH" + before_build: - ps: | mkdir build