Skip to content

Commit

Permalink
do stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Apr 25, 2024
1 parent 0aa0895 commit 89d8d0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-and-cover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,17 @@ jobs:
- name: Restore dependencies for unit tests
run: |
mkdir -p ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/runtimes/linux-x64/native
dotnet restore Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests.csproj
dotnet restore Yubico.Core/tests/Yubico.Core.UnitTests.csproj
ls -l ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/runtimes/linux-x64/native
- name: Export LD LIBRARY PATH if on ubuntu-latest
if: matrix.os == 'ubuntu-latest'
run: |
ls $HOME/.nuget/packages/yubico.nativeshims/1.10.0/runtimes/linux-x64/native
echo "LD_LIBRARY_PATH=$HOME/.nuget/packages/yubico.nativeshims/1.10.0/runtimes/linux-x64/native/libYubico.NativeShims.so:$LD_LIBRARY_PATH" >> $GITHUB_ENV
mkdir -p ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/linux-x64/native
cp $HOME/.nuget/packages/yubico.nativeshims/1.10.0/runtimes/linux-x64/native/libYubico.NativeShims.so ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/linux-x64/native/libYubico.NativeShims.so
cp $HOME/.nuget/packages/yubico.nativeshims/1.10.0/runtimes/linux-x64/native/libYubico.NativeShims.so ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/runtimes/linux-x64/native/libYubico.NativeShims.so
- name: Check LD_LIBRARY_PATH
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit 89d8d0d

Please sign in to comment.