Merge pull request #8 from walle303/master

Change windows build to Release
This commit is contained in:
mujx 2017-04-25 02:47:24 +03:00 committed by GitHub
commit f94905bfbd
1 changed files with 3 additions and 3 deletions

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\*