2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-07 03:20:40 +00:00
GlosSI-fork/.appveyor.yml
2017-05-19 16:18:25 +02:00

37 lines
1.4 KiB
YAML

version: 1.2.1.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
configuration: Release
environment:
matrix:
- platform: x86
QTDIR: C:\Qt\5.9\msvc2017
OUTNAME: Win32
- platform: x64
QTDIR: C:\Qt\5.9\msvc2017_64
OUTNAME: x64
build:
project: GloSC.sln
verbosity: normal
after_build:
- 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
artifacts:
- path: GloSC_$(platform).zip
name: GloSC_$(platform)
deploy:
- provider: GitHub
auth_token:
secure: HdTPh2HVHhlpsjWkSIT89w+4KyDeB9CVCb/FFlzZpYdUTtUqLSAJ5/nOw29be0PG
artifact: /GloSC_x..\.zip/
draft: true
prerelease: true
force_update: true
on:
branch: master