소스 검색

tentative fix of appveyor script

Christophe Riccio 7 년 전
부모
커밋
abb52b7dae
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      .appveyor.yml

+ 11 - 0
.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