File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed
Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1+ version : 0.2
2+ # This uses the docker image specified in ci/docker/arch-linux
3+ phases :
4+ build :
5+ commands :
6+ - echo Build started on `date`
7+ - ./ci/codebuild/build.sh -DTEST_RESOURCE_PREFIX=lambda-cpp-archbtw
8+ - ./ci/codebuild/run-tests.sh aws-lambda-package-lambda-test-fun
9+ - echo Build completed on `date`
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ set -euo pipefail
66cd $CODEBUILD_SRC_DIR
77mkdir build
88cd build
9- cmake .. -GNinja -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/install $@
9+ cmake .. -GNinja \
10+ -DBUILD_SHARED_LIBS=ON \
11+ -DCMAKE_BUILD_TYPE=Debug \
12+ -DENABLE_TESTS=ON \
13+ -DCMAKE_INSTALL_PREFIX=/install $@
1014ninja
1115ninja install
Original file line number Diff line number Diff line change 1+ FROM public.ecr.aws/docker/library/archlinux:latest
2+
3+ RUN pacman -Sy --noconfirm git
4+ RUN git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp.git
5+ RUN pacman -Sy --noconfirm \
6+ cmake \
7+ ninja \
8+ clang \
9+ curl \
10+ zip
11+
12+
13+ # Note: (2022-08-23)
14+ # Using -DUSE_OPENSSL=OFF as a workaround to an AWS SDK dependency issue with this distro.
15+ # The current SDK version has a dependency on a static build version of openssl, not available through pacman.
16+ # ref: https://github.com/aws/aws-sdk-cpp/issues/1910
17+ RUN CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -Saws-sdk-cpp -Baws-sdk-cpp/build -GNinja \
18+ -DBUILD_ONLY=lambda \
19+ -DUSE_OPENSSL=OFF \
20+ -DENABLE_TESTING=OFF
21+ RUN cmake --build aws-sdk-cpp/build -t install
22+
You can’t perform that action at this time.
0 commit comments