-
Notifications
You must be signed in to change notification settings - Fork 26
204 lines (187 loc) · 6.04 KB
/
common_build.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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
name: Common CI
on:
push:
branches-ignore:
- 'dependabot**'
tags:
- '*'
paths-ignore:
- '**/lsan.supp'
- 'buildScripts/travis/*'
- 'buildScripts/azure/*'
- 'buildScripts/docker/*'
- 'azure-pipelines.yml'
- '.cirrus.yml'
- '.travis.yml'
- '.mergify.yml'
- 'Brewfile'
- '**/*.html'
- '**/*.txt'
- '**/*.md'
- 'installer/packages/**/meta/prebuild-mac.sh'
- 'installer/packages/**/meta/prebuild-linux-gnu.sh'
- '**/*.dockerfile'
- '**/*.Dockerfile'
- '**/Dockerfile'
- '**/Dockerfile.*'
- 'plugins/robots/checker/scripts/build-checker-installer.sh'
- '.github/workflows/centos.yml'
pull_request:
branches-ignore:
- 'dependabot**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
uses: ./.github/workflows/setup_environment.yml
with:
os: ubuntu-latest
lint: true
build: false
build_installer: false
build-macos-release-tests:
needs: lint
uses: ./.github/workflows/setup_environment.yml
with:
os: macos-13
build: true
build_installer: false
qmake_extra: "CONFIG+=tests CONFIG+=noPch CONFIG+=ccache CONFIG+=no-sanitizers CONFIG+=warn_off"
trik_python3_version_minor: 11
build-macos-debug-tests:
needs: lint
uses: ./.github/workflows/setup_environment.yml
with:
os: macos-13
build: true
build_installer: false
config: debug
qmake_extra: "CONFIG+=warn_off CONFIG+=tests CONFIG+=noPch CONFIG+=ccache CONFIG+=small_debug_info CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address"
trik_python3_version_minor: 11
build-macos-installer:
needs: [build-macos-debug-tests, build-macos-release-tests]
uses: ./.github/workflows/setup_environment.yml
with:
os: macos-13
build: true
build_installer: true
qmake_extra: " CONFIG+=noPch CONFIG+=ccache CONFIG+=no-sanitizers CONFIG+=silent CONFIG+=warn_off"
trik_python3_version_minor: 11
tests: true
secrets: inherit
install-macos-installer:
needs: build-macos-installer
uses: ./.github/workflows/installer.yml
with:
os: macos-13
artifact_name: macos-installer
build-ubuntu-release-tests:
needs: lint
uses: ./.github/workflows/setup_environment.yml
with:
os: ubuntu-22.04
build: true
build_installer: false
qmake_extra: "CONFIG+=tests CONFIG+=noPch CONFIG+=ccache CONFIG+=no-sanitizers"
trik_python3_version_minor: 10
build-ubuntu-debug-tests:
needs: lint
uses: ./.github/workflows/setup_environment.yml
with:
os: ubuntu-22.04
build: true
build_installer: false
config: debug
qmake_extra: "CONFIG+=tests CONFIG+=noPch CONFIG+=ccache CONFIG+=small_debug_info CONFIG+=sanitizer CONFIG+=sanitize_undefined CONFIG+=sanitize_address"
trik_python3_version_minor: 10
build-altlinux-release-tests:
needs: lint
uses: ./.github/workflows/setup_environment.yml
with:
os: ubuntu-latest
container_name: alt:latest
build: true
build_installer: false
qmake_extra: "CONFIG+=tests CONFIG+=noPch CONFIG+=ccache CONFIG+=no-sanitizers"
tests: true
build-rockylinux-distro-release-tests:
needs: lint
uses: ./.github/workflows/setup_environment.yml
with:
os: ubuntu-latest
container_name: rockylinux:8
build: true
build_installer: false
qmake_extra: "CONFIG+=tests CONFIG+=noPch CONFIG+=ccache CONFIG+=sanitizer CONFIG+=sanitize-undefined"
gcc_version: 13
shell: bash -l {0}
trik_python3_version_minor: 11
# Use Python 3.11, as the Python 3.12 package in Rocky Linux AppStream x86_64 crashes
# with a segmentation fault when restarting the interpreter during the import of asyncio
# (specifically when loading _ssl) in PythonQt::init().
build-rockylinux-installer-release-tests:
needs: lint
uses: ./.github/workflows/setup_environment.yml
with:
os: ubuntu-latest
container_name: rockylinux:8
build: true
build_installer: false
qmake_extra: "CONFIG+=tests CONFIG+=noPch CONFIG+=ccache CONFIG+=sanitizer CONFIG+=sanitize-undefined CONFIG+=sanitize_address"
gcc_version: 13
trik_qt_version: 5.15
trik_python3_version_minor: 11
linux_installer_environment: true
shell: bash -l {0}
build-rockylinux-installer:
needs: [build-rockylinux-installer-release-tests]
uses: ./.github/workflows/setup_environment.yml
with:
os: ubuntu-latest
container_name: rockylinux:8
build: true
build_installer: true
tests: true
qmake_extra: "CONFIG+=noPch CONFIG+=ccache CONFIG+=no-sanitizers CONFIG+=warn_off"
gcc_version: 13
trik_qt_version: 5.15
trik_python3_version_minor: 11
linux_installer_environment: true
shell: bash -l {0}
secrets: inherit
install-ubuntu-installer:
needs: [build-rockylinux-installer]
uses: ./.github/workflows/installer.yml
with:
os: ubuntu-latest
artifact_name: linux-installer
install-ubuntu-installer-1-concurrency:
needs: [build-rockylinux-installer]
uses: ./.github/workflows/installer.yml
with:
os: ubuntu-latest
artifact_name: linux-installer
concurrency: 1
install-rockylinux-installer:
needs: [build-rockylinux-installer]
uses: ./.github/workflows/installer.yml
with:
os: ubuntu-latest
container_name: rockylinux:8
artifact_name: linux-installer
install-altlinux-installer:
needs: [build-rockylinux-installer]
uses: ./.github/workflows/installer.yml
with:
os: ubuntu-latest
container_name: alt:latest
artifact_name: linux-installer
install-archlinux-installer:
needs: [build-rockylinux-installer]
uses: ./.github/workflows/installer.yml
with:
os: ubuntu-latest
container_name: archlinux:latest
artifact_name: linux-installer