2017-05-31 15:35:51 +00:00
|
|
|
version: 1.2.2.{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
|
2017-05-19 15:08:00 +00:00
|
|
|
image: Visual Studio 2017
|
2017-04-13 14:19:32 +00:00
|
|
|
configuration: Release
|
2017-03-19 01:48:36 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
2017-05-31 15:38:18 +00:00
|
|
|
# - platform: x86
|
|
|
|
# QTDIR: C:\Qt\5.9\msvc2017
|
|
|
|
# OUTNAME: Win32
|
2017-04-13 14:19:32 +00:00
|
|
|
- platform: x64
|
2017-05-19 14:18:25 +00:00
|
|
|
QTDIR: C:\Qt\5.9\msvc2017_64
|
2017-04-13 14:19:32 +00:00
|
|
|
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: >-
|
2017-09-29 19:47:54 +00:00
|
|
|
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.2-%platform%\bin\sfml-system-2.dll %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.2-%platform%\bin\sfml-window-2.dll %APPVEYOR_BUILD_FOLDER%\dependencies\SFML-2.4.2-%platform%\bin\sfml-graphics-2.dll redist\* %QTDIR%\bin\Qt5Core.dll %QTDIR%\bin\Qt5Gui.dll %QTDIR%\bin\Qt5Widgets.dll %QTDIR%\plugins\platforms\qwindows.dll
|
2017-04-13 16:10:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
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
|