-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
187 lines (175 loc) · 5.64 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#
# https://ci.appveyor.com/tools/validate-yaml
# https://www.appveyor.com/docs/build-environment/#qt
# https://download.qt.io/snapshots/ifw/installer-framework/30/
#
version: '{branch}-{build}'
branches:
only:
- main
# blacklist
#except: - gh-pages
#stack: python 3.8
build: off
configuration:
Release
# Debug
platform:
- x64
#- x86
#image:
# - macos-mojave
# - Ubuntu
# - Visual Studio 2019
environment:
matrix:
# MacOS
- APPVEYOR_BUILD_WORKER_IMAGE: "macos-mojave"
MY_BIN_PRO_RES_NAME: GalaxyCalculator2
MY_QIF_PACKAGE_URI: 'packages/com.lightwizzard.galaxycalculator2/data'
MY_OS: MacOsMojave
MY_COMPILER: "Qt"
MY_QT_VERSION: 5.15.2
MY_VS_VERSION: 2019
MY_QT_IF_VERSION: '4.1.1'
MY_PYTHON_PATH: "~/venv3.9"
MY_PYTHON_VER: "3.9"
MY_PYTHON_REQUIRED: true
MY_UPGRADE_OS: false # apt-get upgrade: true or false only
RUNTIME_LINKAGE: static
COVERITY_BUILD_CANDIDATE: True
# Linux
- APPVEYOR_BUILD_WORKER_IMAGE: "Ubuntu"
MY_BIN_PRO_RES_NAME: GalaxyCalculator2
MY_QIF_PACKAGE_URI: 'packages/com.lightwizzard.galaxycalculator2/data'
MY_OS: Ubuntu
MY_COMPILER: "Qt"
MY_QT_VERSION: 5.15.2
MY_VS_VERSION: 2019
MY_QT_IF_VERSION: '4.1.1'
MY_PYTHON_VER: "3.9"
MY_PYTHON_PATH: "$HOME/venv3.9"
MY_PYTHON_REQUIRED: true
MY_UPGRADE_OS: false
RUNTIME_LINKAGE: static
COVERITY_BUILD_CANDIDATE: True
# Windows
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
MY_BIN_PRO_RES_NAME: GalaxyCalculator2
MY_QIF_PACKAGE_URI: 'packages\com.lightwizzard.galaxycalculator2\data'
MY_OS: Windows # No Spaces
MY_COMPILER: "Qt"
MY_QT_VERSION: 5.15.2
MY_VS_VERSION: 2019
MY_QT_MINGW32: mingw81_32
MY_QT_MINGW64: mingw81_64
MY_QT_TOOLS_MINGW32: mingw810_32
MY_QT_TOOLS_MINGW64: mingw810_64
MY_QT_IF_VERSION: '4.1.1'
MY_PYTHON_PATH: "C:/Python38-x64"
MY_PYTHON_VER: 3.8 # Last version Windows 7 can run is 3.8
MY_PYTHON_REQUIRED: true
RUNTIME_LINKAGE: static
COVERITY_BUILD_CANDIDATE: True
stack: python %MY_PYTHON_VER%
for:
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: "macos-mojave"
#- image: macos-mojave
# environment:
# MY_BIN_PRO_RES_NAME: GalaxyCalculator2
# MY_QIF_PACKAGE_URI: 'packages/com.lightwizzard.galaxycalculator2/data'
# MY_OS: MacOsMojave
# MY_COMPILER: "Qt"
# MY_QT_VERSION: 5.15.2
# MY_VS_VERSION: 2019
# MY_QT_IF_VERSION: '4.1.1'
# MY_PYTHON_VER: 3.9
# MY_PYTHON_REQUIRED: true
# MY_UPGRADE_OS: false # apt-get upgrade: true or false only
# RUNTIME_LINKAGE: static
# COVERITY_BUILD_CANDIDATE: True
install:
# Create our AppVeyor version
- ps: $env:REPO_NAME = $env:APPVEYOR_REPO_NAME.Substring($env:APPVEYOR_REPO_NAME.IndexOf('/') + 1)
- ps: $env:package_version = ("$(git describe --tags --always --long)").trim()
- ps: Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
- sh: bash -c "scripts/install_mac.sh"
build_script:
- sh: bash -c "scripts/build_script_mac.sh"
artifacts:
- path: '*.zip'
name: 'ZipInstaller'
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: "Ubuntu"
#- image: Ubuntu
# environment:
# MY_BIN_PRO_RES_NAME: GalaxyCalculator2
# MY_QIF_PACKAGE_URI: 'packages/com.lightwizzard.galaxycalculator2/data'
# MY_OS: Ubuntu
# MY_COMPILER: "Qt"
# MY_QT_VERSION: 5.15.2
# MY_VS_VERSION: 2019
# MY_QT_IF_VERSION: '4.1.1'
# MY_PYTHON_VER: 3.9
# MY_PYTHON_REQUIRED: true
# MY_UPGRADE_OS: false
# RUNTIME_LINKAGE: static
# COVERITY_BUILD_CANDIDATE: True
install:
# Create our AppVeyor version
- ps: $env:REPO_NAME = $env:APPVEYOR_REPO_NAME.Substring($env:APPVEYOR_REPO_NAME.IndexOf('/') + 1)
- ps: $env:package_version = ("$(git describe --tags --always --long)").trim()
- ps: Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
- sh: bash -c "scripts/install.sh"
build_script:
- sh: bash -c "scripts/build_script.sh"
artifacts:
- path: '*.zip'
name: 'ZipInstaller'
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
#- image: Visual Studio 2019
# environment:
# MY_BIN_PRO_RES_NAME: GalaxyCalculator2
# MY_QIF_PACKAGE_URI: 'packages\com.lightwizzard.galaxycalculator2\data'
# MY_OS: Windows # No Spaces
# MY_COMPILER: "Qt"
# MY_QT_VERSION: 5.15.2
# MY_VS_VERSION: 2019
# MY_QT_MINGW32: mingw81_32
# MY_QT_MINGW64: mingw81_64
# MY_QT_TOOLS_MINGW32: mingw810_32
# MY_QT_TOOLS_MINGW64: mingw810_64
# MY_QT_IF_VERSION: '4.1.1'
# MY_PYTHON_VER: 3.8 # Last version Windows 7 can run is 3.8
# MY_PYTHON_REQUIRED: true
# RUNTIME_LINKAGE: static
# COVERITY_BUILD_CANDIDATE: True
install:
# Create our AppVeyor version
- ps: $env:REPO_NAME = $env:APPVEYOR_REPO_NAME.Substring($env:APPVEYOR_REPO_NAME.IndexOf('/') + 1)
- ps: $env:package_version = ("$(git describe --tags --always --long)").trim()
- ps: Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
- ps: $env:MY_COMPILER="Qt"
- ps: Invoke-Expression -Command scripts\install.ps1
build_script:
- ps: Invoke-Expression -Command scripts\build_script.ps1
artifacts:
- path: '*.zip'
name: 'ZipInstaller'
deploy:
- provider: GitHub
release: continuous
artifact: 'ZipInstaller'
draft: false
prerelease: true
auth_token:
secure: 5Kb03ANp7s6KeJKren+ROsEnuCk2tXGby36aqYpG0WV8xfHBg26Td9B4C9jpI/O/
############################################## End of File ####################