Skip to content

Commit

Permalink
ci: add 32 bit buildspec (aws#3977)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmayclin authored and dougch committed May 31, 2023
1 parent 618d9e2 commit 34704b6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
25 changes: 25 additions & 0 deletions codebuild/spec/buildspec_32bit_cross_compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use
# this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompanying this file. This file is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing permissions and
# limitations under the License.
version: 0.2

phases:
build:
on-failure: ABORT
commands:
- cmake . -Bbuild -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/32-bit.toolchain
- cmake --build ./build -j $(nproc)
post_build:
on-failure: ABORT
commands:
- CTEST_PARALLEL_LEVEL=$(nproc) make -C build test
7 changes: 7 additions & 0 deletions codebuild/spec/buildspec_omnibus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,13 @@ batch:
variables:
S2N_LIBCRYPTO: openssl-1.1.1

- identifier: 32BitBuildAndUnit
buildspec: codebuild/spec/buildspec_32bit_cross_compile.yml
env:
privileged-mode: true
compute-type: BUILD_GENERAL1_LARGE
image: 024603541914.dkr.ecr.us-west-2.amazonaws.com/docker:ubuntu22codebuild

- buildspec: codebuild/spec/buildspec_ubuntu.yml
env:
compute-type: BUILD_GENERAL1_SMALL
Expand Down

0 comments on commit 34704b6

Please sign in to comment.