This commit is contained in:
ORG@niZM 2024-06-20 08:14:14 +00:00 committed by GitHub
commit da86775bb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

33
.appveyor.yml Normal file
View 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