forked from Wohlstand/OPL3BankEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
68 lines (56 loc) · 2.51 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#--------------------------------------------------------------------------------
# AppVeyor CI building configuration file for Microsoft Windows Operating system
# created 2016-08-09
#--------------------------------------------------------------------------------
version: 1.3.4.{build}
branches:
only: # whitelist
- master
skip_tags: true
skip_commits:
message: /Created.*\.(png|jpg|jpeg|bmp|gif|md)/ # Regex for matching commit message
files:
- '*.md'
- 'LICENSE'
- '.gitignore'
# Operating system (build VM template)
os: unstable
# clone directory
clone_folder: C:\_Repos\OPL3BankEditor
clone_depth: 3 # clone entire repository history if not defined
# Uncommend those two lines to enable RDP (which can be used to debug stuff and test built stuff)
# init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2013"
PLATFORM: Win32
WINXX_ARCH: win32
COMPILER: C:\Qt\Tools\mingw530_32\bin
QT_DIR: C:\Qt\5.7\mingw53_32\bin # Qt since 5.8 no more supports Windows XP, Keep support for Windows XP yet
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: Win9x
WINXX_ARCH: win9x
COMPILER: C:\MinGW-6-3\bin
QT_DIR: C:\Qt\4.4.3\bin
install:
- ps: if ($env:PLATFORM -eq "Win9x") { new-item C:\temp-d -itemtype directory }
- ps: if ($env:PLATFORM -eq "Win9x") { (new-object net.webclient).DownloadFile('http://wohlsoft.ru/docs/Software/QtBuilts/MinGW-6-3-x86-dw2.zip', 'C:\temp-d\MinGW-6-3-x86-dw2.zip'); }
- ps: if ($env:PLATFORM -eq "Win9x") { (new-object net.webclient).DownloadFile('http://wohlsoft.ru/docs/Software/QtBuilts/qt-4.4.3-mingw-6.3-win32-static-mini-release.7z', 'C:\temp-d\qt-4.4.3-mingw-6.3-win32-static-mini-release.7z'); }
- ps: |
if ($env:PLATFORM -eq "Win9x") {
Set-Alias sevenzip "C:\Program Files\7-Zip\7z.exe"
sevenzip x C:\temp-d\MinGW-6-3-x86-dw2.zip -oC:\MinGW-6-3;
sevenzip x C:\temp-d\qt-4.4.3-mingw-6.3-win32-static-mini-release.7z -oC:\Qt; }
- git submodule init
- git submodule update
- echo set QtDir=%QT_DIR%>> _paths.bat
- echo set MinGW=%COMPILER%>> _paths.bat
- echo set GitDir=C:\Program Files\Git\cmd>> _paths.bat
build_script:
- build.bat %WINXX_ARCH%
artifacts:
- path: opl3-bank-editor\opl3-bank-editor-dev-$(WINXX_ARCH).zip
deploy:
- provider: Environment
name: WohlnetFTP