-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Arm SHA384 proofs in AWS-LC CI
- Loading branch information
Showing
12 changed files
with
122 additions
and
86 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
17 changes: 17 additions & 0 deletions
17
tests/ci/codebuild/linux-x86/ubuntu-20.04_clang-10x_formal-verification-saw-aarch64.yml
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,17 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
version: 0.2 | ||
|
||
env: | ||
variables: | ||
GOPROXY: https://proxy.golang.org,direct | ||
|
||
phases: | ||
pre_build: | ||
commands: | ||
- export CC=clang-10 | ||
- export CXX=clang++-10 | ||
build: | ||
commands: | ||
- ./tests/ci/run_formal_verification_saw_aarch64.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
13 changes: 13 additions & 0 deletions
13
tests/ci/codebuild/linux-x86/ubuntu-22.04_clang-10x_formal-verification-nsym.yml
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,13 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
version: 0.2 | ||
|
||
env: | ||
variables: | ||
GOPROXY: https://proxy.golang.org,direct | ||
|
||
phases: | ||
build: | ||
commands: | ||
- ./tests/ci/run_formal_verification_nsym.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
15 changes: 15 additions & 0 deletions
15
...r_images/linux-x86/ubuntu-20.04_clang-10x_formal-verification-saw-aarch64/create_image.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
if [ -n "$1" ]; then | ||
docker_tag="$1" | ||
else | ||
docker_tag='ubuntu-20.04:clang-10x_formal-verification-saw-aarch64' | ||
fi | ||
rm -rf aws-lc-verification | ||
git clone https://github.com/awslabs/aws-lc-verification.git | ||
cd aws-lc-verification | ||
docker build --pull --no-cache -f Dockerfile.saw_aarch64 -t ${docker_tag} . | ||
cd .. | ||
rm -rf aws-lc-verification |
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
15 changes: 15 additions & 0 deletions
15
...i/docker_images/linux-x86/ubuntu-22.04_clang-14x_formal-verification-nsym/create_image.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
if [ -n "$1" ]; then | ||
docker_tag="$1" | ||
else | ||
docker_tag='ubuntu-20.04:clang-10x_formal-verification-nsym' | ||
fi | ||
rm -rf aws-lc-verification | ||
git clone https://github.com/awslabs/aws-lc-verification.git | ||
cd aws-lc-verification | ||
docker build --pull --no-cache -f Dockerfile.nsym -t ${docker_tag} . | ||
cd .. | ||
rm -rf aws-lc-verification |
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,21 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
AWS_LC_DIR=${PWD##*/} | ||
cd ../ | ||
ROOT=$(pwd) | ||
|
||
rm -rf aws-lc-verification-build | ||
git clone https://github.com/awslabs/aws-lc-verification.git aws-lc-verification-build | ||
|
||
cd aws-lc-verification-build | ||
git submodule update --init | ||
|
||
# aws-lc-verification has aws-lc as one submodule under 'src' dir. | ||
# Below is to copy code of **target** aws-lc to 'src' dir. | ||
rm -rf ./src/* && cp -r "${ROOT}/${AWS_LC_DIR}/"* ./src | ||
# execute the entry to saw scripts. | ||
./NSym/scripts/docker_entrypoint.sh | ||
cd .. | ||
rm -rf aws-lc-verification-build |
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,21 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
AWS_LC_DIR=${PWD##*/} | ||
cd ../ | ||
ROOT=$(pwd) | ||
|
||
rm -rf aws-lc-verification-build | ||
git clone https://github.com/awslabs/aws-lc-verification.git aws-lc-verification-build | ||
|
||
cd aws-lc-verification-build | ||
git submodule update --init | ||
|
||
# aws-lc-verification has aws-lc as one submodule under 'src' dir. | ||
# Below is to copy code of **target** aws-lc to 'src' dir. | ||
rm -rf ./src/* && cp -r "${ROOT}/${AWS_LC_DIR}/"* ./src | ||
# execute the entry to saw scripts. | ||
./SAW/scripts/aarch64/docker_entrypoint.sh | ||
cd .. | ||
rm -rf aws-lc-verification-build |
File renamed without changes.