Debian Codegraph @

crt/s2n/codebuild/spec/buildspec_generalbatch.yml

raw symbols SCIP
1 ---
2 # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5 # this file except in compliance with the License. A copy of the License is
6 # located at
7 #
8 # http://aws.amazon.com/apache2.0/
9 #
10 # or in the "license" file accompanying this file. This file is distributed on an
11 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 # implied. See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 version: 0.2
16
17 batch:
18 build-list:
19 - buildspec: codebuild/spec/buildspec_ubuntu.yml
20 env:
21 compute-type: BUILD_GENERAL1_LARGE
22 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
23 privileged-mode: true
24 variables:
25 GCC_VERSION: NONE
26 SAW: true
27 TESTS: tls
28 identifier: s2nSawTls
29 - buildspec: codebuild/spec/buildspec_sidetrail.yml
30 env:
31 compute-type: BUILD_GENERAL1_2XLARGE
32 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu14codebuild
33 privileged-mode: true
34 variables:
35 TESTS: sidetrail
36 identifier: s2nSidetrail
37 - buildspec: codebuild/spec/buildspec_ubuntu.yml
38 env:
39 compute-type: BUILD_GENERAL1_LARGE
40 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
41 privileged-mode: true
42 variables:
43 BUILD_S2N: 'true'
44 TESTS: exec_leak
45 identifier: s2nExecLeak
46 - buildspec: codebuild/spec/buildspec_ubuntu.yml
47 env:
48 compute-type: BUILD_GENERAL1_SMALL
49 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
50 privileged-mode: true
51 variables:
52 BUILD_S2N: 'true'
53 GCC_VERSION: '9'
54 S2N_LIBCRYPTO: 'openssl-1.1.1'
55 TESTS: unit
56 identifier: s2nUnitOpenssl111Gcc9
57 - buildspec: codebuild/spec/buildspec_ubuntu.yml
58 env:
59 compute-type: BUILD_GENERAL1_LARGE
60 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
61 privileged-mode: true
62 variables:
63 BUILD_S2N: true
64 GCC_VERSION: 9
65 S2N_COVERAGE: true
66 S2N_LIBCRYPTO: openssl-3.0
67 TESTS: unit
68 identifier: s2nUnitOpenssl3Gcc9
69 - buildspec: codebuild/spec/buildspec_ubuntu.yml
70 env:
71 compute-type: BUILD_GENERAL1_LARGE
72 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
73 privileged-mode: true
74 variables:
75 BUILD_S2N: true
76 GCC_VERSION: 9
77 S2N_COVERAGE: true
78 S2N_LIBCRYPTO: openssl-3.0-fips
79 TESTS: unit
80 identifier: s2nUnitOpenssl3FIPSGcc9
81 ### Ubuntu24 ###
82 # Openssl-1.1.1 + gcc-13: Prefer more widely used Openssl on the default
83 # Ubuntu24 compiler.
84 # Aws-lc + clang-18: aws-lc is being built with clang; keep parity while building
85 # s2n-tls on a newer compiler.
86 - buildspec: codebuild/spec/buildspec_ubuntu_cmake.yml
87 env:
88 compute-type: BUILD_GENERAL1_MEDIUM
89 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu24
90 privileged-mode: true
91 variables:
92 COMPILER: 'gcc-13'
93 S2N_LIBCRYPTO: 'openssl-1.1.1'
94 identifier: s2nUnitOpenssl111Gcc13
95 - buildspec: codebuild/spec/buildspec_ubuntu_cmake.yml
96 env:
97 compute-type: BUILD_GENERAL1_MEDIUM
98 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu24
99 privileged-mode: true
100 variables:
101 COMPILER: 'clang-18'
102 S2N_LIBCRYPTO: 'awslc'
103 identifier: s2nUnitAwslcClang18
104 - buildspec: codebuild/spec/buildspec_amazonlinux.yml
105 env:
106 compute-type: BUILD_GENERAL1_LARGE
107 image: aws/codebuild/amazonlinux2-aarch64-standard:2.0
108 privileged-mode: true
109 type: ARM_CONTAINER
110 variables:
111 TESTS: unit
112 identifier: s2nUnitAl2Arm
113 - buildspec: codebuild/spec/buildspec_amazonlinux.yml
114 env:
115 compute-type: BUILD_GENERAL1_SMALL
116 image: aws/codebuild/amazonlinux2-x86_64-standard:3.0
117 privileged-mode: true
118 variables:
119 TESTS: unit
120 S2N_LIBCRYPTO: default
121 identifier: s2nUnitAL2
122 - buildspec: codebuild/spec/buildspec_amazonlinux.yml
123 env:
124 compute-type: BUILD_GENERAL1_SMALL
125 image: aws/codebuild/amazonlinux2-x86_64-standard:3.0
126 privileged-mode: true
127 variables:
128 TESTS: unit
129 S2N_LIBCRYPTO: openssl-1.1.1
130 identifier: s2nUnitAl2Openssl111
131 - buildspec: codebuild/spec/buildspec_amazonlinux.yml
132 env:
133 compute-type: BUILD_GENERAL1_SMALL
134 image: aws/codebuild/amazonlinux2-x86_64-standard:5.0
135 privileged-mode: true
136 variables:
137 TESTS: unit
138 S2N_LIBCRYPTO: default
139 identifier: UnitAl2023x86
140 - buildspec: codebuild/spec/buildspec_amazonlinux.yml
141 env:
142 compute-type: BUILD_GENERAL1_SMALL
143 image: aws/codebuild/amazonlinux2-aarch64-standard:3.0
144 privileged-mode: true
145 type: ARM_CONTAINER
146 variables:
147 TESTS: unit
148 S2N_LIBCRYPTO: default
149 identifier: UnitAl2023arm
150 - buildspec: codebuild/spec/buildspec_ubuntu.yml
151 env:
152 compute-type: BUILD_GENERAL1_LARGE
153 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
154 privileged-mode: true
155 variables:
156 BUILD_S2N: 'true'
157 TESTS: interning
158 identifier: s2nLibcryptoInterningOpenSSL
159 - buildspec: codebuild/spec/buildspec_ubuntu.yml
160 env:
161 compute-type: BUILD_GENERAL1_LARGE
162 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
163 privileged-mode: true
164 variables:
165 BUILD_S2N: 'true'
166 S2N_LIBCRYPTO: awslc
167 TESTS: interning
168 identifier: s2nLibcryptoInterningAwslc
169 - buildspec: codebuild/spec/buildspec_ubuntu.yml
170 env:
171 compute-type: BUILD_GENERAL1_LARGE
172 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
173 privileged-mode: true
174 variables:
175 BUILD_S2N: 'true'
176 S2N_LIBCRYPTO: awslc-fips-2022
177 TESTS: interning
178 identifier: s2nLibcryptoInterningAwslcFips2022
179 - buildspec: codebuild/spec/buildspec_ubuntu.yml
180 env:
181 compute-type: BUILD_GENERAL1_LARGE
182 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu24
183 privileged-mode: true
184 variables:
185 GCC_VERSION: '13'
186 TESTS: crt
187 identifier: s2nUnitCRT
188 - buildspec: codebuild/spec/buildspec_ubuntu.yml
189 env:
190 compute-type: BUILD_GENERAL1_SMALL
191 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
192 privileged-mode: true
193 variables:
194 S2N_LIBCRYPTO: openssl-1.1.1
195 TESTS: sharedandstatic
196 identifier: s2nInstallSharedAndStatic
197 - identifier: s2nDynamicLoad
198 buildspec: codebuild/spec/buildspec_ubuntu.yml
199 env:
200 compute-type: BUILD_GENERAL1_SMALL
201 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
202 privileged-mode: true
203 variables:
204 TESTS: dynamicload
205 S2N_LIBCRYPTO: openssl-1.1.1
206 GCC_VERSION: '9'
207 - buildspec: codebuild/spec/buildspec_ubuntu.yml
208 env:
209 compute-type: BUILD_GENERAL1_LARGE
210 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
211 privileged-mode: true
212 variables:
213 BUILD_S2N: true
214 GCC_VERSION: 6
215 S2N_COVERAGE: true
216 S2N_LIBCRYPTO: openssl-1.1.1
217 TESTS: unit
218 identifier: s2nUnitOpenSSL111Gcc6Coverage
219 - buildspec: codebuild/spec/buildspec_ubuntu.yml
220 env:
221 compute-type: BUILD_GENERAL1_SMALL
222 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
223 privileged-mode: true
224 variables:
225 BUILD_S2N: 'true'
226 GCC_VERSION: '6'
227 S2N_LIBCRYPTO: 'libressl'
228 TESTS: unit
229 identifier: s2nUnitLibressl
230 - buildspec: codebuild/spec/buildspec_ubuntu.yml
231 env:
232 compute-type: BUILD_GENERAL1_SMALL
233 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
234 privileged-mode: true
235 variables:
236 BUILD_S2N: 'true'
237 GCC_VERSION: '4.8'
238 S2N_LIBCRYPTO: 'openssl-1.0.2-fips'
239 TESTS: unit
240 identifier: s2nUnitOpenssl102FipsGcc48
241 - buildspec: codebuild/spec/buildspec_ubuntu.yml
242 env:
243 compute-type: BUILD_GENERAL1_SMALL
244 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
245 privileged-mode: true
246 variables:
247 BUILD_S2N: 'true'
248 GCC_VERSION: '9'
249 S2N_LIBCRYPTO: 'boringssl'
250 TESTS: unit
251 identifier: s2nUnitBoringssl
252 - buildspec: codebuild/spec/buildspec_ubuntu.yml
253 env:
254 compute-type: BUILD_GENERAL1_SMALL
255 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu18codebuild
256 privileged-mode: true
257 variables:
258 BUILD_S2N: 'true'
259 GCC_VERSION: '9'
260 S2N_LIBCRYPTO: 'awslc-fips-2022'
261 TESTS: unit
262 identifier: s2nUnitAwslcFips2022
263 - buildspec: codebuild/spec/buildspec_ubuntu.yml
264 env:
265 compute-type: BUILD_GENERAL1_SMALL
266 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
267 privileged-mode: true
268 variables:
269 BUILD_S2N: 'true'
270 CC: '/usr/bin/clang'
271 CXX: '/usr/bin/clang++'
272 S2N_LIBCRYPTO: 'awslc'
273 TESTS: unit
274 identifier: s2nUnitClang15
275 - identifier: 32BitBuildAndUnit
276 buildspec: codebuild/spec/buildspec_32bit_cross_compile.yml
277 env:
278 privileged-mode: true
279 compute-type: BUILD_GENERAL1_LARGE
280 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
281 - identifier: ThreadSanitizer
282 buildspec: codebuild/spec/buildspec_tsan.yml
283 env:
284 privileged-mode: true
285 compute-type: BUILD_GENERAL1_LARGE
286 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
287 - identifier: musl
288 buildspec: codebuild/spec/buildspec_musl.yml
289 env:
290 privileged-mode: true
291 compute-type: BUILD_GENERAL1_LARGE
292 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
293 - identifier: DisableRandOverride
294 buildspec: codebuild/spec/buildspec_disable_rand_override.yml
295 env:
296 privileged-mode: true
297 compute-type: BUILD_GENERAL1_LARGE
298 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
299 - identifier: s2nMemUsageTest_awslc
300 buildspec: codebuild/spec/buildspec_mem.yml
301 env:
302 compute-type: BUILD_GENERAL1_SMALL
303 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu24
304 privileged-mode: true
305 variables:
306 S2N_LIBCRYPTO: 'awslc'
307 S2N_EXPECTED_CONNECTION_MEMORY_KB: 47
308 - identifier: s2nMemUsageTest_awslcfips
309 buildspec: codebuild/spec/buildspec_mem.yml
310 env:
311 compute-type: BUILD_GENERAL1_SMALL
312 image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu24
313 privileged-mode: true
314 variables:
315 S2N_LIBCRYPTO: 'awslc-fips-2022'
316 S2N_EXPECTED_CONNECTION_MEMORY_KB: 46