Skip to content

Commit 760c09a

Browse files
authored
ci: add 32 bit buildspec (#3977)
1 parent fd330d0 commit 760c09a

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
phases:
17+
build:
18+
on-failure: ABORT
19+
commands:
20+
- cmake . -Bbuild -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/32-bit.toolchain
21+
- cmake --build ./build -j $(nproc)
22+
post_build:
23+
on-failure: ABORT
24+
commands:
25+
- CTEST_PARALLEL_LEVEL=$(nproc) make -C build test

codebuild/spec/buildspec_omnibus.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,13 @@ batch:
231231
variables:
232232
S2N_LIBCRYPTO: openssl-1.1.1
233233

234+
- identifier: 32BitBuildAndUnit
235+
buildspec: codebuild/spec/buildspec_32bit_cross_compile.yml
236+
env:
237+
privileged-mode: true
238+
compute-type: BUILD_GENERAL1_LARGE
239+
image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild
240+
234241
- buildspec: codebuild/spec/buildspec_ubuntu.yml
235242
env:
236243
compute-type: BUILD_GENERAL1_SMALL

0 commit comments

Comments
 (0)