-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebase randomness_generation branch on main 01-11-2024 (#1961)
- Loading branch information
1 parent
72f0a9f
commit be23ae5
Showing
503 changed files
with
144,032 additions
and
19,003 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
FROM alpine:latest | ||
|
||
ARG CC=gcc | ||
ARG CXX=g++ | ||
|
||
VOLUME ["awslc"] | ||
|
||
RUN apk --no-cache add bash \ | ||
clang \ | ||
build-base \ | ||
cmake \ | ||
ninja \ | ||
go \ | ||
perl \ | ||
linux-headers | ||
|
||
WORKDIR /awslc | ||
|
||
ENV CC=${CC} | ||
ENV CXX=${CXX} | ||
|
||
ENTRYPOINT ["/bin/bash", "-c"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ concurrency: | |
cancel-in-progress: true | ||
env: | ||
GOPROXY: https://proxy.golang.org,direct | ||
SDE_MIRROR_URL: "https://downloadmirror.intel.com/813591/sde-external-9.33.0-2024-01-07-win.tar.xz" | ||
SDE_VERSION_TAG: sde-external-9.33.0-2024-01-07-win | ||
SDE_MIRROR_URL: "https://downloadmirror.intel.com/831748/sde-external-9.44.0-2024-08-22-win.tar.xz" | ||
SDE_VERSION_TAG: sde-external-9.44.0-2024-08-22-win | ||
PACKAGE_NAME: aws-lc | ||
# Used to enable ASAN test dimension. | ||
AWSLC_NO_ASM_FIPS: 1 | ||
|
@@ -24,7 +24,7 @@ jobs: | |
uses: actions/checkout@v3 | ||
- name: Sanity Test Run | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none | ||
sudo apt-get install ninja-build | ||
cmake -GNinja -Btest_build_dir | ||
ninja -C test_build_dir run_tests | ||
|
@@ -445,7 +445,7 @@ jobs: | |
cd $(pwd) | ||
export PATH="${HOME}/bin:${PATH}" | ||
env | ||
tests/ci/run_openbsd_tests.sh ${{ matrix.args }} | ||
tests/ci/run_bsd_tests.sh ${{ matrix.args }} | ||
EOF | ||
gcc-4_8: | ||
needs: [sanity-test-run] | ||
|
@@ -462,6 +462,33 @@ jobs: | |
run: | | ||
docker run -v "${{ github.workspace }}:/awslc" "gcc-4.8" | ||
alpine-linux-x86: | ||
needs: [sanity-test-run] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
tests: [ | ||
/awslc/tests/ci/run_fips_tests.sh, | ||
/awslc/tests/ci/run_posix_tests.sh | ||
] | ||
compiler: [ | ||
--build-arg CC=clang --build-arg CXX=clang++, | ||
--build-arg CC=gcc --build-arg CXX=g++ | ||
] | ||
runs-on: ubuntu-latest | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build Docker Image | ||
working-directory: .github/docker_images/alpine-linux | ||
run: | | ||
docker build -t alpine_linux ${{ matrix.compiler }} . | ||
- name: Run tests | ||
run: | | ||
docker run -v "${{ github.workspace }}:/awslc" \ | ||
alpine_linux ${{ matrix.tests }} | ||
# TODO: Investigate sudden hanging tests and failures in GHA runners (P114059413) | ||
# MSVC-SDE-32-bit: | ||
# needs: [sanity-test-run] | ||
|
@@ -490,3 +517,35 @@ jobs: | |
# echo ${env:SDEROOT} | ||
# .\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 true | ||
# | ||
freebsd-13: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
name: FreeBSD ${{ matrix.version }} test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '13.3' | ||
- '14.1' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
- name: Prepare VM | ||
uses: cross-platform-actions/[email protected] | ||
env: | ||
AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS: 5 | ||
AWS_LC_GO_TEST_TIMEOUT: 90m | ||
GOFLAGS: "-buildvcs=false" | ||
with: | ||
environment_variables: 'AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS AWS_LC_GO_TEST_TIMEOUT GOFLAGS' | ||
operating_system: freebsd | ||
architecture: x86-64 | ||
version: ${{ matrix.version }} | ||
shell: bash | ||
memory: 16G | ||
cpu_count: 4 | ||
run: | | ||
sudo pkg install -y git gmake cmake go ninja | ||
tests/ci/run_bsd_tests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.