-
Notifications
You must be signed in to change notification settings - Fork 465
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
196 lines (188 loc) · 6.18 KB
/
Copy pathazure-pipelines.yml
File metadata and controls
196 lines (188 loc) · 6.18 KB
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
#
# Copyright(c) 2021 ZettaScale Technology and others
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License
# v. 1.0 which is available at
# http://www.eclipse.org/org/documents/edl-v10.php.
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
trigger: [ '*' ]
pr: [ '*' ]
variables:
cyclonedds_uri: '<CycloneDDS><Domain><Internal><EnableExpensiveChecks>rhc,whc</EnableExpensiveChecks><LivelinessMonitoring>true</LivelinessMonitoring></Internal><Tracing><Verbosity>config</Verbosity><OutputFile>stderr</OutputFile></Tracing></Domain></CycloneDDS>'
jobs:
- job: build_and_test
displayName: 'B&T'
pool:
vmImage: $(image)
strategy:
matrix:
'Ub 22.04 (Rel, x86_64)':
image: ubuntu-22.04
build_type: Release
sanitizer: undefined
cc: gcc
'Ub 24.04 (Deb, x86_64, Iceoryx)':
image: ubuntu-24.04
# No address sanitizer because of this in test run:
# Shadow memory range interleaves with an existing memory mapping.
# ASan cannot proceed correctly. ABORTING.
# ASan shadow was supposed to be located in the [0x00007fff7000-0x10007fff7fff]
# range.
sanitizer: undefined
iceoryx: on
cc: gcc
coverage: on
'Ub 24.04 (Deb, x86_64, Iceoryx2)':
image: ubuntu-24.04
# No address sanitizer because of this in test run:
# Shadow memory range interleaves with an existing memory mapping.
# ASan cannot proceed correctly. ABORTING.
# ASan shadow was supposed to be located in the [0x00007fff7000-0x10007fff7fff]
# range.
sanitizer: undefined
iceoryx2: on
cc: gcc
coverage: on
'Ub 24.04 (Rel, x86_64)':
image: ubuntu-24.04
build_type: Release
sanitizer: undefined
cc: gcc-14
cxx: g++-14
'Ub 24.04 + GCC 12 (Deb, x86_64, security only)':
image: ubuntu-24.04
sanitizer: address,undefined
ssl: off
lifespan: off
deadline_missed: on
type_discovery: off
topic_discovery: off
idlc_xtests: off # temporary disabled because of passing -t option to idlc in this test for recursive types
cc: gcc-12
'Ub 24.04 + GCC 12 (Deb, x86_64, no tests)':
image: ubuntu-24.04
cc: gcc-12
testing: off
idlc_xtests: off
'Ub 24.04 + Clang (Deb, x86_64)':
image: ubuntu-24.04
analyzer: on
sanitizer: address,undefined
cc: clang
'Ub 24.04 + Clang (Deb, x86_64, no security)':
image: ubuntu-24.04
sanitizer: address,undefined
security: off
cc: clang
'Ub 24.04 + Clang (Rel, x86_64, no topic discovery)':
image: ubuntu-24.04
build_type: Release
sanitizer: undefined
topic_discovery: off
idlc_xtests: off # temporary disabled because of passing -t option to idlc in this test for recursive types
cc: clang
'macOS 14 + Clang (Deb, x86_64)':
image: macos-14
sanitizer: address,undefined
deadline_update_skip: on
cc: clang
coverage: on
'macOS 14 + Clang (Rel, x86_64)':
image: macos-14
build_type: Release
sanitizer: undefined
deadline_update_skip: on
cc: clang
'macOS 14 + GCC 14 (Deb, analyzer, x86_64)':
image: macos-14
cc: gcc-14
analyzer: on
deadline_update_skip: on
# 32-bit Windows: without SSL/security because Chocolateley only provides 64-bit OpenSSL
'Win 2025 + VS 2022 (Deb, x86, no security)':
arch: x86
image: windows-2025
ssl: off
security: off
idlc_xtests: off
generator: 'Visual Studio 17 2022'
'Win 2025 + VS 2022 (Deb, x86_64)':
image: windows-2025
idlc_xtests: off
generator: 'Visual Studio 17 2022'
'Win 2025 + VS 2022 (Rel, x86_64, no tests)':
image: windows-2025
build_type: Release
testing: off
idlc_xtests: off
generator: 'Visual Studio 17 2022'
'Win 2022 + VS 2022 (RelWithDebInfo, x86_64)':
image: windows-2022
build_type: RelWithDebInfo
idlc_xtests: off
generator: 'Visual Studio 17 2022'
#'Windows 2019 with GCC 10 (Debug, x86_64)':
# image: windows-2019
# build_type: Debug
# idlc_xtests: off
# generator: 'MinGW Makefiles'
# cc: 'C:/msys64/mingw64/bin/gcc.exe'
# cxx: 'C:/msys64/mingw64/bin/g++.exe'
'Ub 24.04 Static (Rel, Iceoryx, x86_64)':
image: ubuntu-24.04
idlc_xtests: off
build_type: Release
sharedlibs: off
iceoryx: on
steps:
- template: /.azure/templates/build-test.yml
- job: coverage_and_test_report
displayName: Coverage and Tests Report
dependsOn: build_and_test
condition: succeededOrFailed() # Always run, even when failed tests, because they should be reported in the dasboard of course!
pool:
vmImage: ubuntu-22.04
steps:
- bash: |
mkdir coverage
- task: DownloadPipelineArtifact@2
inputs:
path: coverage
displayName: Download Coverage
- task: UsePythonVersion@0
- bash: |
python -m pip install gcovr --user --upgrade
ls coverage
gcovr -a coverage/**/*.json --xml-pretty --output coverage.xml
displayName: Combine coverage reports
- task: PublishCodeCoverageResults@1
displayName: Publish Cobertura Coverage Report
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: coverage.xml
- job: python_binding
displayName: Python Binding
pool:
vmImage: $(image)
strategy:
matrix:
'Test and fuzzing (Ubuntu 24.04 LTS, Clang, Debug)':
image: ubuntu-24.04
build_type: Debug
steps:
- template: /.azure/templates/python-binding.yml
- job: cxx_binding
displayName: C++ Binding
pool:
vmImage: $(image)
strategy:
matrix:
'Build and test (Ubuntu 22.04 LTS, Clang 18, Debug)':
image: ubuntu-22.04
build_type: Debug
steps:
- template: /.azure/templates/cxx-binding.yml