nheko/appveyor.yml

40 lines
1.1 KiB
YAML
Raw Normal View History

2017-04-09 16:09:22 +02:00
version: 0.1.0-{build}
environment:
global:
MSYSTEM: "MINGW64"
platform: x64
configuration:
- Release
build:
verbosity: minimal
install:
- set QT_DIR=C:\Qt\5.8\msvc2015_64
- set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin
- copy LICENSE .ci\windows\LICENSE.txt
- cinst nsis --version 3.0 -y -installArgs /D=C:\nsis
2017-04-09 16:09:22 +02:00
build_script:
2017-10-01 21:38:46 +02:00
- cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild -DAPPVEYOR_BUILD=ON
2017-04-24 22:28:19 +02:00
- cmake --build build --config Release
2017-04-09 16:09:22 +02:00
after_build:
- mkdir NhekoRelease
2017-04-24 22:28:19 +02:00
- copy build\Release\nheko.exe NhekoRelease\nheko.exe
- windeployqt --qmldir C:\Qt\5.8\msvc2015_64\qml\ --release NhekoRelease\nheko.exe
- copy C:\OpenSSL-Win64\bin\ssleay32.dll .\NhekoRelease\ssleay32.dll
- copy C:\OpenSSL-Win64\bin\libeay32.dll .\NhekoRelease\libeay32.dll
- copy C:\OpenSSL-Win64\lib\libeay32.lib .\NhekoRelease\libeay32.lib
- copy C:\OpenSSL-Win64\bin\ssleay32.dll .\NhekoRelease\ssleay32.dll
2017-04-09 16:09:22 +02:00
- 7z a nheko_win_64.zip .\NhekoRelease\*
- C:\nsis\makensis .ci\windows\nheko.nsi
2017-04-09 16:09:22 +02:00
artifacts:
- path: nheko_win_64.zip
- path: NhekoRelease\nheko.exe
- path: nheko_setup.exe