-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(.NET): Add ESDK-Net v4.0.1 generated vectors
- Loading branch information
Showing
2 changed files
with
31 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 |
---|---|---|
|
@@ -270,3 +270,34 @@ jobs: | |
DAFNY_AWS_ESDK_TEST_VECTOR_MANIFEST_PATH="$NET_400_INVALID_VECTORS/manifest.json" \ | ||
dotnet test --framework net6.0 --logger "console;verbosity=quiet" | ||
fi | ||
- name: Unzip ESDK-NET @ v4.0.1 Vectors | ||
working-directory: ./AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/resources | ||
shell: bash | ||
run: | | ||
NET_401_VECTORS=$GITHUB_WORKSPACE/v4Net401/vectors | ||
mkdir -p $NET_401_VECTORS | ||
DOWNLOAD_NAME=v4-Net-4.0.1.zip | ||
unzip -o -qq $DOWNLOAD_NAME -d $NET_401_VECTORS | ||
- name: Run ESDK-NET @ v4.0.1 Vectors expect success | ||
working-directory: ./AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors | ||
shell: bash | ||
run: | | ||
NET_401_VECTORS=$GITHUB_WORKSPACE/v4Net401/vectors | ||
# We expect net48 to run only for Windows | ||
if [ "$RUNNER_OS" == "Windows" ]; then | ||
ESDK_NET_V400_POLICY="forbid" \ | ||
DAFNY_AWS_ESDK_TEST_VECTOR_MANIFEST_PATH="$NET_401_VECTORS/manifest.json" \ | ||
dotnet test --framework net48 | ||
fi | ||
if [ "$RUNNER_OS" == "macOS" ]; then | ||
DYLD_LIBRARY_PATH="/usr/local/opt/[email protected]/lib" \ | ||
ESDK_NET_V400_POLICY="forbid" \ | ||
DAFNY_AWS_ESDK_TEST_VECTOR_MANIFEST_PATH="$NET_401_VECTORS/manifest.json" \ | ||
dotnet test --framework net6.0 --logger "console;verbosity=quiet" | ||
else | ||
ESDK_NET_V400_POLICY="forbid" \ | ||
DAFNY_AWS_ESDK_TEST_VECTOR_MANIFEST_PATH="$NET_401_VECTORS/manifest.json" \ | ||
dotnet test --framework net6.0 --logger "console;verbosity=quiet" | ||
fi |
Binary file added
BIN
+1.49 MB
AwsEncryptionSDK/runtimes/net/TestVectorsNative/TestVectors/resources/v4-Net-4.0.1.zip
Binary file not shown.