2017-04-19 14:14:43 +00:00
|
|
|
version: 1.2.1.{build}
|
2017-03-19 01:48:36 +00:00
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
|
|
|
branches:
|
2017-04-13 14:19:32 +00:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
configuration: Release
|
2017-03-19 01:48:36 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
2017-04-13 14:19:32 +00:00
|
|
|
- platform: x86
|
|
|
|
QTDIR: C:\Qt\5.7\msvc2015
|
|
|
|
OUTNAME: Win32
|
|
|
|
- platform: x64
|
|
|
|
QTDIR: C:\Qt\5.7\msvc2015_64
|
|
|
|
OUTNAME: x64
|
2017-03-19 01:48:36 +00:00
|
|
|
build:
|
2017-04-13 14:19:32 +00:00
|
|
|
project: GloSC.sln
|
2017-03-19 01:48:36 +00:00
|
|
|
verbosity: normal
|
2017-03-19 01:58:52 +00:00
|
|
|
after_build:
|
2017-04-13 16:10:29 +00:00
|
|
|
- cmd: >-
|
|
|
|
7z a GloSC_%platform%.zip TargetConfig.ini License.txt qt-license.txt Readme.md Build_Install.md %APPVEYOR_BUILD_FOLDER%\build\%OUTNAME%\%configuration%\*.exe %APPVEYOR_BUILD_FOLDER%\build\Win32Only\%configuration%\*.exe %APPVEYOR_BUILD_FOLDER%\build\Win32Only\%configuration%\*.dll %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.1-%platform%\bin\sfml-system-2.dll %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.1-%platform%\bin\sfml-window-2.dll %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.1-%platform%\bin\sfml-graphics-2.dll %APPVEYOR_BUILD_FOLDER%\dependencies\ViGEmUM\%platform%\ViGEmUM.dll redist\*.exe %QTDIR%\bin\Qt5Core.dll %QTDIR%\bin\Qt5Gui.dll %QTDIR%\bin\Qt5Widgets.dll %QTDIR%\plugins\platforms\qwindows.dll
|
|
|
|
|
|
|
|
|
|
|
|
7z rn GloSC_%platform%.zip qwindows.dll platforms\qwindows.dll
|
2017-03-19 01:48:36 +00:00
|
|
|
artifacts:
|
2017-04-13 14:19:32 +00:00
|
|
|
- path: GloSC_$(platform).zip
|
|
|
|
name: GloSC_$(platform)
|
2017-03-19 01:48:36 +00:00
|
|
|
deploy:
|
2017-04-13 14:19:32 +00:00
|
|
|
- provider: GitHub
|
|
|
|
auth_token:
|
2017-04-13 16:10:29 +00:00
|
|
|
secure: HdTPh2HVHhlpsjWkSIT89w+4KyDeB9CVCb/FFlzZpYdUTtUqLSAJ5/nOw29be0PG
|
|
|
|
artifact: /GloSC_x..\.zip/
|
2017-04-13 14:19:32 +00:00
|
|
|
draft: true
|
|
|
|
prerelease: true
|
|
|
|
force_update: true
|
|
|
|
on:
|
|
|
|
branch: master
|