Commit 6c8ea8e 1 parent ff6a901 commit 6c8ea8e Copy full SHA for 6c8ea8e
File tree 4 files changed +60
-0
lines changed
4 files changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ # SPDX-License-Identifier: Apache-2.0 OR ISC
3
+
4
+ FROM gcc:4.8
5
+
6
+ VOLUME ["/awslc" ]
7
+
8
+ COPY awslc_build.sh /
9
+ COPY entry.sh /
10
+
11
+ WORKDIR /
12
+
13
+ RUN curl -LOk "https://github.com/Kitware/CMake/releases/download/v3.6.3/cmake-3.6.3-Linux-x86_64.tar.gz"
14
+ RUN sha256sum cmake-3.6.3-Linux-x86_64.tar.gz | grep -q "9d915d505c07d84b610e1be6242c7cad68b4b7a4090ce85ecf9cec5effa47c43"
15
+ RUN tar -C /usr/local -xzf cmake-3.6.3-Linux-x86_64.tar.gz
16
+ RUN rm cmake-3.6.3-Linux-x86_64.tar.gz
17
+
18
+ ENV PATH="${PATH}:/usr/local/cmake-3.6.3-Linux-x86_64/bin"
19
+
20
+ ENTRYPOINT ["/entry.sh" ]
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ # SPDX-License-Identifier: Apache-2.0 OR ISC
5
+
6
+ set -ex -o pipefail
7
+
8
+ echo " Building with GCC Version: $( gcc --version) "
9
+
10
+ BUILD_DIR=$( mktemp -d)
11
+ SRC_DIR=" ${SRC_DIR:-/ awslc} "
12
+
13
+ pushd " ${BUILD_DIR} "
14
+
15
+ cmake " ${SRC_DIR} " " -DDISABLE_GO=ON" " -DDISABLE_PERL=ON" " -DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=1"
16
+ make -j 4 ssl
17
+
18
+ popd # ${BUILD_DIR}
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ # SPDX-License-Identifier: Apache-2.0 OR ISC
5
+
6
+ set -ex -o pipefail
7
+
8
+ /awslc_build.sh " ${argv[@]} "
Original file line number Diff line number Diff line change @@ -447,6 +447,20 @@ jobs:
447
447
env
448
448
tests/ci/run_openbsd_tests.sh ${{ matrix.args }}
449
449
EOF
450
+ gcc-4_8 :
451
+ needs : [sanity-test-run]
452
+ runs-on : ubuntu-latest
453
+ env :
454
+ DOCKER_BUILDKIT : 1
455
+ steps :
456
+ - uses : actions/checkout@v4
457
+ - name : Build Docker Image
458
+ working-directory : .github/docker_images/gcc-4.8
459
+ run : |
460
+ docker build -t "gcc-4.8" .
461
+ - name : Build using pre-generated assembly
462
+ run : |
463
+ docker run -v "${{ github.workspace }}:/awslc" "gcc-4.8"
450
464
451
465
# TODO: Investigate sudden hanging tests and failures in GHA runners (P114059413)
452
466
# MSVC-SDE-32-bit:
You can’t perform that action at this time.
0 commit comments