Skip to content

Commit a2f5505

Browse files
committed
submodules; dafny
1 parent ef7660e commit a2f5505

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

codebuild/py312/decrypt_hkeyring_with_net.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,22 @@ phases:
2929

3030
# Approach 2: "The Quick Way:"
3131

32+
# Download dafny
33+
- curl https://github.com/dafny-lang/dafny/releases/download/v$dafnyVersion/dafny-$dafnyVersion-x64-ubuntu-20.04.zip -L -o dafny.zip
34+
- unzip -qq dafny.zip && rm dafny.zip
35+
- export PATH="$PWD/dafny:$PATH"
36+
3237
# Clone SDK-Dafny repo to get test vectors runner
33-
- git clone https://github.com/aws/aws-encryption-sdk-dafny.git
38+
- git clone --recurse-submodules https://github.com/aws/aws-encryption-sdk-dafny.git
3439
# TODO: Change branch to published when available
3540
- cd aws-encryption-sdk-dafny
3641
- git checkout lucmcdon/hkeyring-vectors
3742
- git pull
43+
- cd AwsEncryptionSDK/
3844
- make transpile_net
3945

4046
# Change TestVectors to reference the published .NET ESDK
41-
- cd AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors
47+
- cd runtimes/net/TestVectorsNative/TestVectors
4248
# - sed -i -e 's/<ProjectReference Include="\.\.\/\.\.\/ESDK\.csproj" \/>/<PackageReference Include="AWS.Cryptography.EncryptionSDK" Version="4.0.1" \/>/g' AWSEncryptionSDKTestVectorLib.csproj
4349
# - cd ../TestVectors
4450

0 commit comments

Comments
 (0)