forked from fireice-uk/xmr-stak-cpu
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request fireice-uk#170 from ruzickap/feature/add_windows_ci
Add appveyor initial file
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Operating system (build VM template) | ||
os: Visual Studio 2017 | ||
|
||
# build platform | ||
platform: x64 | ||
|
||
# clone directory | ||
clone_folder: c:\xmr-stak-cpu | ||
|
||
install: | ||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" | ||
- call "%VS150COMNTOOLS%\VsMSBuildCmd.bat" | ||
# - mkdir c:\xmr-stak-dep | ||
# - curl -fsS https://slproweb.com/download/Win32OpenSSL-1_1_0f.exe -o Win32OpenSSL.exe | ||
# - Win32OpenSSL.exe /silent /verysilent /sp- /suppressmsgboxes | ||
# - curl -fsS https://www.open-mpi.org/software/hwloc/v1.11/downloads/hwloc-win64-build-1.11.7.zip -o hwloc-win64-build.zip | ||
# - 7z x hwloc-win64-build.zip -o"c:\xmr-stak-dep" -y > nul | ||
# - curl -fsS http://mirror.reismil.ch/gnu/libmicrohttpd/libmicrohttpd-latest-w32-bin.zip -o libmicrohttpd-w32-bin.zip | ||
# - 7z x libmicrohttpd-w32-bin.zip -o"c:\xmr-stak-dep" -y > nul | ||
- cd c:\xmr-stak-cpu & mkdir build & cd build | ||
# - set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc-win64-build-1.11.7;C:\xmr-stak-dep\libmicrohttpd-0.9.55-w32-bin\x86_64\VS2017\Release-static | ||
- cmake -G "Visual Studio 15 2017 Win64" -DOpenSSL_ENABLE=OFF -DHWLOC_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF -T v141,host=x64 .. | ||
- msbuild xmr-stak-cpu.sln /p:Configuration=Release | ||
- cd bin\Release | ||
- copy c:\xmr-stak-dep\hwloc-win64-build-1.11.7\bin\libhwloc-5.dll . | ||
- copy c:\xmr-stak-dep\libmicrohttpd-0.9.55-w32-bin\x86_64\VS2017\Release-dll\libmicrohttpd-dll.dll . | ||
- xmr-stack-cpu -c ..\..\..\config.txt |