Browse Source

AppVeyor CI: Build with CUDA

cl-refactor
Paweł Bylica 8 years ago
parent
commit
ec2dc3083c
No known key found for this signature in database GPG Key ID: 7A0C037434FE77EF
  1. 10
      appveyor.yml

10
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:
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
- cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild -DETHASHCUDA=ON
build_script:
- cmake --build build --config Release
after_build:

Loading…
Cancel
Save