Skip to content

Commit

Permalink
build: re-enable Appveyor cache
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <ron@hybridgroup.com>
  • Loading branch information
deadprogram committed Nov 19, 2017
1 parent 7c75fa0 commit a96e970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ environment:
GOROOT: c:\go
GOVERSION: 1.9.2
TEST_EXTERNAL: 1
APPVEYOR_SAVE_CACHE_ON_ERROR: true
appveyor_build_worker_cloud: pro-rs

cache:
- C:\opencv -> appveyor_build_opencv.cmd

install:
- if not exist "C:\opencv" appveyor_build_opencv.cmd
- set PATH=C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\Program Files\Microsoft\Web Platform Installer\;C:\Tools\PsTools;C:\Program Files (x86)\CMake\bin;C:\go\bin;C:\Tools\NuGet;C:\Program Files\LLVM\bin;C:\Tools\curl\bin;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Yarn\bin;C:\Users\appveyor\AppData\Local\Yarn\bin;C:\Program Files\AppVeyor\BuildAgent\
Expand Down
2 changes: 0 additions & 2 deletions appveyor_build_opencv.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ if not exist "C:\opencv\build" mkdir "C:\opencv\build"

appveyor DownloadFile https://github.com/opencv/opencv/archive/3.3.1.zip -FileName c:\opencv\opencv-3.3.1.zip
7z x c:\opencv\opencv-3.3.1.zip -oc:\opencv -y
dir c:\opencv
dir c:\opencv\opencv-3.3.1
del c:\opencv\opencv-3.3.1.zip /q
appveyor DownloadFile https://github.com/opencv/opencv_contrib/archive/3.3.1.zip -FileName c:\opencv\opencv_contrib-3.3.1.zip
7z x c:\opencv\opencv_contrib-3.3.1.zip -oc:\opencv -y
Expand Down

0 comments on commit a96e970

Please sign in to comment.