File tree Expand file tree Collapse file tree 2 files changed +50
-35
lines changed
Expand file tree Collapse file tree 2 files changed +50
-35
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414version : 0.2
1515
16- # This buildspec runs on an Ubuntu22 image. That configuration is a property of
17- # the codebuild job itself.
18-
19- # Codebuild's matrix jobs have non-differentiated names so use batch-list
20- # instead.
21-
22- # Parameter motivation
23-
24- # LIBCRYPTOS
25- # awslc: happy path libcrypto for s2n-tls
26- # openssl 3: s2n-tls takes different code paths for ossl3, so make sure we run
27- # asan on it. See pr 4033 for a historical motivating example.
28-
29- batch :
30- build-list :
31- - identifier : clang_awslc
32- debug-session : true
33- env :
34- compute-type : BUILD_GENERAL1_XLARGE
35- image : 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
36- privileged-mode : true
37- variables :
38- S2N_LIBCRYPTO : awslc
39- COMPILER : clang
40- - identifier : clang_openssl_3_0
41- debug-session : true
42- env :
43- compute-type : BUILD_GENERAL1_XLARGE
44- image : 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
45- privileged-mode : true
46- variables :
47- S2N_LIBCRYPTO : openssl-3.0
48- COMPILER : clang
49-
5016phases :
5117 pre_build :
5218 commands :
@@ -60,7 +26,7 @@ phases:
6026 commands :
6127 - |
6228 cmake . -Bbuild \
63- -DCMAKE_PREFIX_PATH=$LIBCRYPTO_ROOT \
29+ -DCMAKE_PREFIX_PATH=/usr/local/$S2N_LIBCRYPTO \
6430 -DS2N_FUZZ_TEST=on
6531 - cmake --build ./build -- -j $(nproc)
6632 post_build :
Original file line number Diff line number Diff line change 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+ version : 0.2
15+
16+ # This buildspec runs on an Ubuntu22 image. That configuration is a property of
17+ # the codebuild job itself.
18+
19+ # Codebuild's matrix jobs have non-differentiated names so use batch-list
20+ # instead.
21+
22+ # Parameter motivation
23+
24+ # LIBCRYPTOS
25+ # awslc: happy path libcrypto for s2n-tls
26+ # openssl 3: libcrypto that is widely used
27+
28+ batch :
29+ build-list :
30+ - identifier : clang_awslc
31+ buildspec : codebuild/spec/buildspec_fuzz.yml
32+ debug-session : true
33+ env :
34+ compute-type : BUILD_GENERAL1_XLARGE
35+ image : 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
36+ privileged-mode : true
37+ variables :
38+ S2N_LIBCRYPTO : awslc
39+ COMPILER : clang
40+ - identifier : clang_openssl_3_0
41+ buildspec : codebuild/spec/buildspec_fuzz.yml
42+ debug-session : true
43+ env :
44+ compute-type : BUILD_GENERAL1_XLARGE
45+ image : 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
46+ privileged-mode : true
47+ variables :
48+ S2N_LIBCRYPTO : openssl-3.0
49+ COMPILER : clang
You can’t perform that action at this time.
0 commit comments