Mining software...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
1.2 KiB

  1. # image
  2. image: Visual Studio 2015
  3. # build platform
  4. platform: x64
  5. # clone directory
  6. clone_folder: c:\xmr-stak
  7. install:
  8. - mkdir c:\xmr-stak-dep
  9. - curl -sL https://github.com/fireice-uk/xmr-stak-dep/releases/download/v1/xmr-stak-dep.zip -o xmr-stak-dep.zip
  10. - 7z x xmr-stak-dep.zip -o"c:\xmr-stak-dep" -y > nul
  11. - appveyor DownloadFile https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_windows-exe -FileName cuda_8.0.44_windows.exe
  12. - cuda_8.0.44_windows.exe -s compiler_8.0 cudart_8.0
  13. - set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;%PATH%
  14. - nvcc -V
  15. build_script:
  16. - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsMSBuildCmd.bat"
  17. - cd c:\xmr-stak
  18. - mkdir build
  19. - cd build
  20. - set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc;C:\xmr-stak-dep\libmicrohttpd;C:\xmr-stak-dep\openssl;
  21. - cmake -G "Visual Studio 14 2015 Win64" -T v140,host=x64 .. -DCUDA_ARCH=30
  22. - cmake --build . --config Release --target install
  23. test_script:
  24. - cd c:\xmr-stak\build\bin\Release
  25. - dir
  26. - copy C:\xmr-stak-dep\openssl\bin\* .
  27. - set XMRSTAK_NOWAIT=1
  28. - xmr-stak.exe --help --noUAC