mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
30a12ac01e
fix dll issues fix openssl dll issues
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
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
|
|
|
|
build_script:
|
|
- cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild
|
|
- cmake --build build --config Release
|
|
- ls -lh build
|
|
|
|
after_build:
|
|
- mkdir NhekoRelease
|
|
- 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
|
|
- 7z a nheko_win_64.zip .\NhekoRelease\*
|
|
- C:\nsis\makensis .ci\windows\nheko.nsi
|
|
|
|
artifacts:
|
|
- path: nheko_win_64.zip
|
|
- path: NhekoRelease\nheko.exe
|
|
- path: nheko_setup.exe
|