summaryrefslogtreecommitdiffstats
path: root/.appveyor.yml
blob: 381e54483f23c7cff0ae2cd843f31fede60020e8 (plain)
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
OpenPOWER on IntegriCloud