forked from fireice-uk/xmr-stak-cpu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
28 lines (23 loc) · 827 Bytes
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# image
image: Visual Studio 2017
# build platform
platform: x64
# clone directory
clone_folder: c:\xmr-stak-cpu
install:
- mkdir c:\xmr-stak-dep
- curl -sL https://github.com/fireice-uk/xmr-stak-dep/releases/download/v1/xmr-stak-dep.zip -o xmr-stak-dep.zip
- 7z x xmr-stak-dep.zip -o"c:\xmr-stak-dep" -y > nul
build_script:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"
- cd c:\xmr-stak-cpu
- mkdir build
- cd build
- set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc;C:\xmr-stak-dep\libmicrohttpd;C:\xmr-stak-dep\openssl;
- cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 ..
- msbuild xmr-stak-cpu.sln /p:Configuration=Release
test_script:
- cd c:\xmr-stak-cpu\build\bin\Release
- dir
- copy ..\..\..\config.txt .
# - xmr-stak-cpu.exe