From 59aa8cb94cc6d1cb55282ff13b78191f933e1c8a Mon Sep 17 00:00:00 2001 From: Darwin Chowdary Date: Mon, 12 Feb 2024 12:35:47 -0800 Subject: [PATCH] chore(.NET): Add ESDK-Net v4.0.1 generated vectors --- .github/workflows/library_net_tests.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/library_net_tests.yml b/.github/workflows/library_net_tests.yml index 7e64bf256..c8132084d 100644 --- a/.github/workflows/library_net_tests.yml +++ b/.github/workflows/library_net_tests.yml @@ -286,9 +286,19 @@ jobs: shell: bash run: | NET_401_VECTORS=$GITHUB_WORKSPACE/v4Net401/vectors - ESDK_NET_V400_POLICY="forbid" \ - DAFNY_AWS_ESDK_TEST_VECTOR_MANIFEST_PATH="$NET_401_VECTORS/manifest.json" \ - dotnet test --framework net48 - 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" \ No newline at end of file + # 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/openssl@1.1/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 \ No newline at end of file