Skip to content

Commit 3f1fccb

Browse files
authored
Merge pull request #5578 from inikep/PS-9757-8.0
PS-9757: Azure Pipelines: Ubuntu 20.04 LTS runner will be removed on 2025-04-15
2 parents 86595e2 + 4ae75c2 commit 3f1fccb

File tree

1 file changed

+71
-152
lines changed

1 file changed

+71
-152
lines changed

azure-pipelines.yml

Lines changed: 71 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pr:
4040
jobs:
4141
- job: BiDiScan
4242
pool:
43-
vmImage: 'ubuntu-20.04'
43+
vmImage: 'ubuntu-22.04'
4444

4545
steps:
4646
- checkout: self
@@ -62,7 +62,7 @@ jobs:
6262
vmImage: $(imageName)
6363

6464
variables:
65-
UBUNTU_CODE_NAME: focal
65+
UBUNTU_CODE_NAME: jammy
6666
BOOST_VERSION: boost_1_77_0
6767
BOOST_DIR: $(Pipeline.Workspace)/boost
6868
USE_CCACHE: 1
@@ -89,209 +89,154 @@ jobs:
8989
Compiler: clang
9090
BuildType: Debug
9191

92-
# clang-6 and newer compilers
93-
clang-19 RelWithDebInfo [Ubuntu 22.04 Jammy]:
94-
imageName: 'ubuntu-22.04'
95-
UBUNTU_CODE_NAME: jammy
92+
93+
# clang-12 and newer compilers
94+
clang-20 RelWithDebInfo [Ubuntu 24.04 Noble]:
95+
imageName: 'ubuntu-24.04'
96+
UBUNTU_CODE_NAME: noble
9697
Compiler: clang
97-
CompilerVer: 19
98+
CompilerVer: 20
9899
BuildType: RelWithDebInfo
99100

100101
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
101-
clang-19 RelWithDebInfo INVERTED [Ubuntu 22.04 Jammy]:
102-
imageName: 'ubuntu-22.04'
103-
UBUNTU_CODE_NAME: jammy
102+
clang-20 RelWithDebInfo INVERTED [Ubuntu 24.04 Noble]:
103+
imageName: 'ubuntu-24.04'
104+
UBUNTU_CODE_NAME: noble
104105
Compiler: clang
105-
CompilerVer: 19
106+
CompilerVer: 20
106107
BuildType: RelWithDebInfo
107108
BUILD_PARAMS_TYPE: inverted
108109

109110
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
110-
clang-19 Debug [Ubuntu 22.04 Jammy]:
111-
imageName: 'ubuntu-22.04'
112-
UBUNTU_CODE_NAME: jammy
111+
clang-20 Debug [Ubuntu 24.04 Noble]:
112+
imageName: 'ubuntu-24.04'
113+
UBUNTU_CODE_NAME: noble
113114
Compiler: clang
114-
CompilerVer: 19
115+
CompilerVer: 20
115116
BuildType: Debug
116117

117-
clang-19 Debug INVERTED [Ubuntu 22.04 Jammy]:
118-
imageName: 'ubuntu-22.04'
119-
UBUNTU_CODE_NAME: jammy
118+
clang-20 Debug INVERTED [Ubuntu 24.04 Noble]:
119+
imageName: 'ubuntu-24.04'
120+
UBUNTU_CODE_NAME: noble
120121
Compiler: clang
121-
CompilerVer: 19
122+
CompilerVer: 20
122123
BuildType: Debug
123124
BUILD_PARAMS_TYPE: inverted
124125

125126
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
126-
clang-18 RelWithDebInfo [Ubuntu 22.04 Jammy]:
127-
imageName: 'ubuntu-22.04'
128-
UBUNTU_CODE_NAME: jammy
127+
clang-19 RelWithDebInfo [Ubuntu 24.04 Noble]:
128+
imageName: 'ubuntu-24.04'
129+
UBUNTU_CODE_NAME: noble
130+
Compiler: clang
131+
CompilerVer: 19
132+
BuildType: RelWithDebInfo
133+
134+
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
135+
clang-19 Debug [Ubuntu 24.04 Noble]:
136+
imageName: 'ubuntu-24.04'
137+
UBUNTU_CODE_NAME: noble
138+
Compiler: clang
139+
CompilerVer: 19
140+
BuildType: Debug
141+
142+
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
143+
clang-18 RelWithDebInfo [Ubuntu 24.04 Noble]:
144+
imageName: 'ubuntu-24.04'
145+
UBUNTU_CODE_NAME: noble
129146
Compiler: clang
130147
CompilerVer: 18
131148
BuildType: RelWithDebInfo
132149

133-
clang-18 Debug [Ubuntu 22.04 Jammy]:
134-
imageName: 'ubuntu-22.04'
135-
UBUNTU_CODE_NAME: jammy
150+
clang-18 Debug [Ubuntu 24.04 Noble]:
151+
imageName: 'ubuntu-24.04'
152+
UBUNTU_CODE_NAME: noble
136153
Compiler: clang
137154
CompilerVer: 18
138155
BuildType: Debug
139156

140157
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
141158
clang-17 RelWithDebInfo [Ubuntu 22.04 Jammy]:
142159
imageName: 'ubuntu-22.04'
143-
UBUNTU_CODE_NAME: jammy
144160
Compiler: clang
145161
CompilerVer: 17
146162
BuildType: RelWithDebInfo
147163

148164
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
149165
clang-17 Debug [Ubuntu 22.04 Jammy]:
150166
imageName: 'ubuntu-22.04'
151-
UBUNTU_CODE_NAME: jammy
152167
Compiler: clang
153168
CompilerVer: 17
154169
BuildType: Debug
155170

156171
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
157172
clang-16 RelWithDebInfo [Ubuntu 22.04 Jammy]:
158173
imageName: 'ubuntu-22.04'
159-
UBUNTU_CODE_NAME: jammy
160174
Compiler: clang
161175
CompilerVer: 16
162176
BuildType: RelWithDebInfo
163177

164178
clang-16 Debug [Ubuntu 22.04 Jammy]:
165179
imageName: 'ubuntu-22.04'
166-
UBUNTU_CODE_NAME: jammy
167180
Compiler: clang
168181
CompilerVer: 16
169182
BuildType: Debug
170183

171184
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
172185
clang-15 RelWithDebInfo [Ubuntu 22.04 Jammy]:
173186
imageName: 'ubuntu-22.04'
174-
UBUNTU_CODE_NAME: jammy
175187
Compiler: clang
176188
CompilerVer: 15
177189
BuildType: RelWithDebInfo
178190

179191
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
180192
clang-15 Debug [Ubuntu 22.04 Jammy]:
181193
imageName: 'ubuntu-22.04'
182-
UBUNTU_CODE_NAME: jammy
183194
Compiler: clang
184195
CompilerVer: 15
185196
BuildType: Debug
186197

187198
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
188-
clang-14 RelWithDebInfo [Ubuntu 20.04 Focal]:
189-
imageName: 'ubuntu-20.04'
199+
clang-14 RelWithDebInfo [Ubuntu 22.04 Jammy]:
200+
imageName: 'ubuntu-22.04'
190201
Compiler: clang
191202
CompilerVer: 14
192203
BuildType: RelWithDebInfo
193204

194-
clang-14 Debug [Ubuntu 20.04 Focal]:
195-
imageName: 'ubuntu-20.04'
205+
clang-14 Debug [Ubuntu 22.04 Jammy]:
206+
imageName: 'ubuntu-22.04'
196207
Compiler: clang
197208
CompilerVer: 14
198209
BuildType: Debug
199210

200211
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
201-
clang-13 RelWithDebInfo [Ubuntu 20.04 Focal]:
202-
imageName: 'ubuntu-20.04'
212+
clang-13 RelWithDebInfo [Ubuntu 22.04 Jammy]:
213+
imageName: 'ubuntu-22.04'
203214
Compiler: clang
204215
CompilerVer: 13
205216
BuildType: RelWithDebInfo
206217

207218
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
208-
clang-13 Debug [Ubuntu 20.04 Focal]:
209-
imageName: 'ubuntu-20.04'
219+
clang-13 Debug [Ubuntu 22.04 Jammy]:
220+
imageName: 'ubuntu-22.04'
210221
Compiler: clang
211222
CompilerVer: 13
212223
BuildType: Debug
213224

214-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
215-
clang-12 RelWithDebInfo [Ubuntu 20.04 Focal]:
216-
imageName: 'ubuntu-20.04'
217-
Compiler: clang
218-
CompilerVer: 12
219-
BuildType: RelWithDebInfo
220-
221-
clang-12 Debug [Ubuntu 20.04 Focal]:
222-
imageName: 'ubuntu-20.04'
225+
clang-12 RelWithDebInfo [Ubuntu 22.04 Jammy]:
226+
imageName: 'ubuntu-22.04'
223227
Compiler: clang
224228
CompilerVer: 12
225-
BuildType: Debug
226-
227-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
228-
clang-11 RelWithDebInfo [Ubuntu 20.04 Focal]:
229-
imageName: 'ubuntu-20.04'
230-
Compiler: clang
231-
CompilerVer: 11
232-
BuildType: RelWithDebInfo
233-
234-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
235-
clang-11 Debug [Ubuntu 20.04 Focal]:
236-
imageName: 'ubuntu-20.04'
237-
Compiler: clang
238-
CompilerVer: 11
239-
BuildType: Debug
240-
241-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
242-
clang-10 RelWithDebInfo [Ubuntu 20.04 Focal]:
243-
imageName: 'ubuntu-20.04'
244-
Compiler: clang
245-
CompilerVer: 10
246-
BuildType: RelWithDebInfo
247-
248-
clang-10 Debug [Ubuntu 20.04 Focal]:
249-
imageName: 'ubuntu-20.04'
250-
Compiler: clang
251-
CompilerVer: 10
252-
BuildType: Debug
253-
254-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
255-
clang-9 RelWithDebInfo [Ubuntu 20.04 Focal]:
256-
imageName: 'ubuntu-20.04'
257-
Compiler: clang
258-
CompilerVer: 9
259-
BuildType: RelWithDebInfo
260-
261-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
262-
clang-9 Debug [Ubuntu 20.04 Focal]:
263-
imageName: 'ubuntu-20.04'
264-
Compiler: clang
265-
CompilerVer: 9
266-
BuildType: Debug
267-
268-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
269-
clang-8 RelWithDebInfo [Ubuntu 20.04 Focal]:
270-
imageName: 'ubuntu-20.04'
271-
Compiler: clang
272-
CompilerVer: 8
273-
BuildType: RelWithDebInfo
274-
275-
clang-8 Debug [Ubuntu 20.04 Focal]:
276-
imageName: 'ubuntu-20.04'
277-
Compiler: clang
278-
CompilerVer: 8
279-
BuildType: Debug
280-
281-
clang-7 RelWithDebInfo [Ubuntu 20.04 Focal]:
282-
imageName: 'ubuntu-20.04'
283-
Compiler: clang
284-
CompilerVer: 7
285229
BuildType: RelWithDebInfo
286230

287-
clang-7 Debug [Ubuntu 20.04 Focal]:
288-
imageName: 'ubuntu-20.04'
231+
clang-12 Debug [Ubuntu 22.04 Jammy]:
232+
imageName: 'ubuntu-22.04'
289233
Compiler: clang
290-
CompilerVer: 7
234+
CompilerVer: 12
291235
BuildType: Debug
292236

293237

294-
# gcc-7 and newer compilers
238+
239+
# gcc-9 and newer compilers
295240
gcc-14 RelWithDebInfo [Ubuntu 24.04 Noble]:
296241
imageName: 'ubuntu-24.04'
297242
Compiler: gcc
@@ -332,71 +277,45 @@ jobs:
332277
BuildType: Debug
333278

334279
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
335-
gcc-11 RelWithDebInfo Ubuntu 20.04 Focal:
336-
imageName: 'ubuntu-20.04'
280+
gcc-11 RelWithDebInfo Ubuntu 22.04 Jammy:
281+
imageName: 'ubuntu-22.04'
337282
Compiler: gcc
338283
CompilerVer: 11
339284
BuildType: RelWithDebInfo
340285

341-
gcc-11 Debug [Ubuntu 20.04 Focal]:
342-
imageName: 'ubuntu-20.04'
286+
gcc-11 Debug [Ubuntu 22.04 Jammy]:
287+
imageName: 'ubuntu-22.04'
343288
Compiler: gcc
344289
CompilerVer: 11
345290
BuildType: Debug
346291

347292
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
348-
gcc-10 RelWithDebInfo [Ubuntu 20.04 Focal]:
349-
imageName: 'ubuntu-20.04'
293+
gcc-10 RelWithDebInfo [Ubuntu 22.04 Jammy]:
294+
imageName: 'ubuntu-22.04'
350295
Compiler: gcc
351296
CompilerVer: 10
352297
BuildType: RelWithDebInfo
353298

354299
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
355-
gcc-10 Debug [Ubuntu 20.04 Focal]:
356-
imageName: 'ubuntu-20.04'
300+
gcc-10 Debug [Ubuntu 22.04 Jammy]:
301+
imageName: 'ubuntu-22.04'
357302
Compiler: gcc
358303
CompilerVer: 10
359304
BuildType: Debug
360305

361-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
362-
gcc-9 RelWithDebInfo [Ubuntu 20.04 Focal]:
363-
imageName: 'ubuntu-20.04'
364-
Compiler: gcc
365-
CompilerVer: 9
366-
BuildType: RelWithDebInfo
367-
368-
gcc-9 Debug [Ubuntu 20.04 Focal]:
369-
imageName: 'ubuntu-20.04'
306+
gcc-9 RelWithDebInfo [Ubuntu 22.04 Jammy]:
307+
imageName: 'ubuntu-22.04'
370308
Compiler: gcc
371309
CompilerVer: 9
372-
BuildType: Debug
373-
374-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
375-
gcc-8 RelWithDebInfo [Ubuntu 20.04 Focal]:
376-
imageName: 'ubuntu-20.04'
377-
Compiler: gcc
378-
CompilerVer: 8
379-
BuildType: RelWithDebInfo
380-
381-
${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}:
382-
gcc-8 Debug [Ubuntu 20.04 Focal]:
383-
imageName: 'ubuntu-20.04'
384-
Compiler: gcc
385-
CompilerVer: 8
386-
BuildType: Debug
387-
388-
gcc-7 RelWithDebInfo [Ubuntu 20.04 Focal]:
389-
imageName: 'ubuntu-20.04'
390-
Compiler: gcc
391-
CompilerVer: 7
392310
BuildType: RelWithDebInfo
393311

394-
gcc-7 Debug [Ubuntu 20.04 Focal]:
395-
imageName: 'ubuntu-20.04'
312+
gcc-9 Debug [Ubuntu 22.04 Jammy]:
313+
imageName: 'ubuntu-22.04'
396314
Compiler: gcc
397-
CompilerVer: 7
315+
CompilerVer: 9
398316
BuildType: Debug
399317

318+
400319
steps:
401320
- script: |
402321
uname -r

0 commit comments

Comments
 (0)