forked from shyba/aeon-stak-cpu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
37 lines (30 loc) · 1.09 KB
/
.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
29
30
31
32
33
34
35
36
37
# image
image: Visual Studio 2017
# build platform
platform: x64
# clone directory
clone_folder: c:\aeon-stak-cpu
install:
- mkdir c:\aeon-stak-dep
- curl -sL https://github.com/fireice-uk/xmr-stak-dep/releases/download/v1/xmr-stak-dep.zip -o aeon-stak-dep.zip
- 7z x aeon-stak-dep.zip -o"c:\aeon-stak-dep" -y > nul
build_script:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"
- cd c:\aeon-stak-cpu
- mkdir build
- cd build
- set CMAKE_PREFIX_PATH=C:\aeon-stak-dep\hwloc;C:\aeon-stak-dep\libmicrohttpd;C:\aeon-stak-dep\openssl;
- cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 ..
- msbuild aeon-stak-cpu.sln /p:Configuration=Release
test_script:
- cd c:\aeon-stak-cpu\build\bin\Release
- dir
- copy ..\..\..\config.txt .
- cd c:\aeon-stak-cpu
# - aeon-stak-cpu.exe
after_build:
- cd c:\aeon-stak-cpu
- cmd: 7z a aeon-stak-cpu.zip C:\aeon-stak-cpu\build\bin\Release\aeon-stak-cpu.exe C:\aeon-stak-cpu\config.txt C:/OpenSSL-Win32/*.dll
artifacts:
- path: aeon-stak-cpu.zip
- path: aeon-stak-cpu-source.zip