File tree Expand file tree Collapse file tree 5 files changed +31
-10
lines changed Expand file tree Collapse file tree 5 files changed +31
-10
lines changed Original file line number Diff line number Diff line change 4
4
build :
5
5
commands :
6
6
- echo Build started on `date`
7
- - apk add --no-cache cmake
8
7
- ./ci/codebuild/build.sh -DTEST_RESOURCE_PREFIX=lambda-cpp-alpine315
9
8
- ./ci/codebuild/run-tests.sh aws-lambda-package-lambda-test-fun
10
9
- echo Build completed on `date`
Original file line number Diff line number Diff line change 3
3
build :
4
4
commands :
5
5
- echo Build started on `date`
6
- - yum install -y tar cmake3
7
6
- ./ci/codebuild/build.sh -DTEST_RESOURCE_PREFIX=lambda-cpp-al2_$(arch)
8
7
- ./ci/codebuild/run-tests.sh aws-lambda-package-lambda-test-fun
9
8
- ./ci/codebuild/run-tests.sh aws-lambda-package-lambda-test-fun-no-glibc
10
- - echo Build completed on `date`
11
- post_build :
12
- commands :
13
- - echo "Build finished. Dumping logs..."
14
- - ls build/CMakeFiles/*.log
15
- - cat build/_deps/gtest-subbuild/CMakeFiles/CMakeError.log
9
+ - echo Build completed on `date`
Original file line number Diff line number Diff line change
1
+ version : 0.2
2
+ # This uses the docker image specified in ci/docker/amazon-linux-2017.03
3
+ phases :
4
+ build :
5
+ commands :
6
+ - echo Build started on `date`
7
+ - yum install -y binutils
8
+ - ./ci/codebuild/build.sh -DTEST_RESOURCE_PREFIX=lambda-cpp-amzn201703
9
+ - ./ci/codebuild/run-tests.sh aws-lambda-package-lambda-test-fun
10
+ - ./ci/codebuild/run-tests.sh aws-lambda-package-lambda-test-fun-no-glibc
11
+ - echo Build completed on `date`
12
+
Original file line number Diff line number Diff line change 4
4
build :
5
5
commands :
6
6
- echo Build started on `date`
7
- - curl -fLo cmake-install https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-Linux-x86_64.sh
8
- - sh cmake-install --skip-license --prefix=/usr --exclude-subdirectory;
9
7
- ./ci/codebuild/build.sh -DTEST_RESOURCE_PREFIX=lambda-cpp-archbtw -DENABLE_SANITIZERS=ON
10
8
- ./ci/codebuild/run-tests.sh aws-lambda-package-lambda-test-fun
11
9
- echo Build completed on `date`
Original file line number Diff line number Diff line change
1
+ FROM public.ecr.aws/amazonlinux/amazonlinux:2018.03
2
+
3
+ RUN yum install -y \
4
+ gcc-c++ \
5
+ git \
6
+ ninja-build \
7
+ curl-devel \
8
+ openssl-devel \
9
+ openssl-static \
10
+ zlib-devel \
11
+ gtest-devel \
12
+ zip
13
+ RUN curl -fLo cmake-install https://github.com/Kitware/CMake/releases/download/v3.13.0/cmake-3.13.0-Linux-x86_64.sh && \
14
+ sh cmake-install --skip-license --prefix=/usr --exclude-subdirectory;
15
+ RUN git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
16
+ RUN cmake -Saws-sdk-cpp -Baws-sdk-cpp/build -DBUILD_ONLY=lambda -DENABLE_TESTING=OFF -GNinja
17
+ RUN cd aws-sdk-cpp/build && ninja-build && ninja-build install
18
+ RUN ln -s /usr/bin/ninja-build /usr/local/bin/ninja
You can’t perform that action at this time.
0 commit comments