2017-04-09 17:09:22 +03: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
|
2017-04-24 20:53:53 +03:00
|
|
|
- copy LICENSE .ci\windows\LICENSE.txt
|
|
|
|
- cinst nsis --version 3.0 -y -installArgs /D=C:\nsis
|
2017-04-09 17:09:22 +03:00
|
|
|
|
|
|
|
build_script:
|
2017-10-01 22:38:46 +03:00
|
|
|
- cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild -DAPPVEYOR_BUILD=ON
|
2017-04-24 23:28:19 +03:00
|
|
|
- cmake --build build --config Release
|
2017-04-09 17:09:22 +03:00
|
|
|
|
|
|
|
after_build:
|
|
|
|
- mkdir NhekoRelease
|
2017-04-24 23:28:19 +03:00
|
|
|
- copy build\Release\nheko.exe NhekoRelease\nheko.exe
|
2017-04-24 20:53:53 +03:00
|
|
|
- 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 17:09:22 +03:00
|
|
|
- 7z a nheko_win_64.zip .\NhekoRelease\*
|
2017-04-24 20:53:53 +03:00
|
|
|
- C:\nsis\makensis .ci\windows\nheko.nsi
|
2017-04-09 17:09:22 +03:00
|
|
|
|
2017-11-06 00:43:49 +03:00
|
|
|
deploy:
|
2017-11-06 01:03:48 +03:00
|
|
|
release: "nheko 0.1.0-dev"
|
|
|
|
description: "Development builds"
|
2017-11-06 00:43:49 +03:00
|
|
|
provider: GitHub
|
|
|
|
auth_token:
|
2017-11-06 00:56:20 +03:00
|
|
|
secure: YqB7hcM+4482eSHhtVR7ZA7N7lE78y8BC897/7UDTBQd+NWdWFW/6S+oKDie9TT7
|
2017-11-06 00:43:49 +03:00
|
|
|
artifact: nheko_setup.exe
|
|
|
|
force_update: true
|
2017-11-06 01:03:48 +03:00
|
|
|
prerelease: true
|
2017-11-06 00:43:49 +03:00
|
|
|
on:
|
|
|
|
appveyor_repo_tag: true
|
|
|
|
|
2017-04-09 17:09:22 +03:00
|
|
|
artifacts:
|
|
|
|
- path: nheko_win_64.zip
|
|
|
|
- path: NhekoRelease\nheko.exe
|
2017-04-24 20:53:53 +03:00
|
|
|
- path: nheko_setup.exe
|