Change windows build to release

This commit is contained in:
walle303 2017-04-24 20:28:19 +00:00
parent 46af37490f
commit a6805cfc06

View file

@ -17,13 +17,13 @@ install:
- set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin - set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin
build_script: build_script:
- cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release - cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild
- cmake --build build - cmake --build build --config Release
- ls -lh build - ls -lh build
after_build: after_build:
- mkdir NhekoRelease - mkdir NhekoRelease
- copy build\Debug\nheko.exe NhekoRelease\nheko.exe - copy build\Release\nheko.exe NhekoRelease\nheko.exe
- windeployqt --release NhekoRelease\nheko.exe - windeployqt --release NhekoRelease\nheko.exe
- 7z a nheko_win_64.zip .\NhekoRelease\* - 7z a nheko_win_64.zip .\NhekoRelease\*