-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit extends the CI with an integration test for AWS-LC. The integration test currently works with the `mlkem_native` branch from the fork `hanno-becker/aws-lc`, which - Removes the reference implementation - Provides an importer.sh for importing mlkem-native - Provides the glue code between mlkem-native's own API and the API expected by AWS-LC. - As a temporary change, it disables `-Werror=redundant-decls`, because mlkem-native does not yet support it. The CI checks that mlkem-native successfully integrated to this fork, by building and running basic tests of AWS-LC in FIPS and non-FIPS mode. Signed-off-by: Hanno Becker <[email protected]>
- Loading branch information
1 parent
e626211
commit b814b55
Showing
2 changed files
with
73 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Setup AWS-LC | ||
description: Setup AWS-LC | ||
|
||
inputs: | ||
dir: | ||
description: Directory to fetch AWS-LC into | ||
default: 'AWS-LC' | ||
repository: | ||
description: Repository to fetch from | ||
default: 'aws/AWS-LC' | ||
commit: | ||
description: Commit to fetch | ||
default: 'HEAD' | ||
gh_token: | ||
description: Github access token to use | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Fetch AWS-LC | ||
shell: bash | ||
run: | | ||
mkdir ${{ inputs.dir }} && cd ${{ inputs.dir }} | ||
git config --global --add safe.directory $GITHUB_WORKSPACE/${{ inputs.dir }} | ||
git init | ||
git remote add origin $GITHUB_SERVER_URL/${{ inputs.repository }} | ||
git fetch origin --depth 1 ${{ inputs.commit }} | ||
git checkout FETCH_HEAD | ||
# Remember AWS-LC directory | ||
echo AWSLC_DIR="$GITHUB_WORKSPACE/${{ inputs.dir }}" >> $GITHUB_ENV |
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