Merge cf54b58608
into 7897f10c48
This commit is contained in:
commit
da86775bb5
1 changed files with 33 additions and 0 deletions
33
.appveyor.yml
Normal file
33
.appveyor.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# build only tags
|
||||||
|
skip_non_tags: true
|
||||||
|
|
||||||
|
# image
|
||||||
|
image: Visual Studio 2017
|
||||||
|
|
||||||
|
# build platform
|
||||||
|
platform: x64
|
||||||
|
configuration: Release
|
||||||
|
|
||||||
|
# clone directory
|
||||||
|
clone_folder: c:\xmrig
|
||||||
|
|
||||||
|
install:
|
||||||
|
- mkdir c:\xmrig-deps
|
||||||
|
- curl -sL https://github.com/xmrig/xmrig-deps/archive/v3.3.zip -o xmrig-deps.zip
|
||||||
|
- 7z x xmrig-deps.zip -o"c:\" -y > nul
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"
|
||||||
|
- cd c:\xmrig
|
||||||
|
- mkdir build
|
||||||
|
- cd build
|
||||||
|
- set CMAKE_PREFIX_PATH=c:\xmrig-deps\msvc2017\x64\
|
||||||
|
- cmake .. -G "Visual Studio 15 2017 Win64" -DXMRIG_DEPS=c:\xmrig-deps\msvc2017\x64
|
||||||
|
- msbuild xmrig.sln /p:Configuration=Release
|
||||||
|
|
||||||
|
test_script:
|
||||||
|
- cd c:\xmrig
|
||||||
|
- 7z a c:\xmrig\xmrig-msvc-win64.zip "c:\xmrig\build\Release\*.exe" "c:\xmrig\src\config.json"
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
- path: xmrig-msvc-win64.zip
|
Loading…
Add table
Add a link
Reference in a new issue