From ec2dc3083c9774b38481833098b3e060eef298ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 18 May 2017 11:28:42 +0200 Subject: [PATCH] AppVeyor CI: Build with CUDA --- appveyor.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 4f3cd133a..adb7e73ce 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,14 +3,20 @@ branches: only: - master - /v\d+\..+/ +clone_depth: 20 os: Visual Studio 2015 configuration: - Release cache: - C:/.hunter/_Base/Cache -install: -before_build: - - cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild + +install: | + appveyor DownloadFile https://github.com/ethereum/cpp-dependencies/releases/download/cache/CUDA-v8.0-WindowsServer2012.zip + 7z x CUDA-v8.0-WindowsServer2012.zip -oC:/ + set PATH=%PATH%;C:/CUDA/v8.0/bin + nvcc -V +before_build: + - cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild -DETHASHCUDA=ON build_script: - cmake --build build --config Release after_build: