X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;h=962bcbeb602d6bcfa4743d3c99f53ca49ca73d15;hb=6423e7ae846f6249b0e32d770000dc60df141d7f;hp=e29d76960a6b3912678a2e26ffb401194706c835;hpb=29a2ba768cb365caf26ab2f29be687c3ee184a93;p=ldk-java diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e29d7696..962bcbeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -254,10 +254,17 @@ jobs: run: | export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)" if ! diff ldk-java-bins/"${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/"org.ldk.nupkg c_sharp/org.ldk.nupkg; then - dnf -y install diffoscope + dnf -y install diffoscope mono-devel diffoscope ldk-java-bins/"${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/"org.ldk.nupkg c_sharp/org.ldk.nupkg || echo exit 1 fi + - name: Run test against C# release library + shell: bash + run: | + cd c_sharp + ln -s ./packaging_artifacts/runtimes/linux-x64/native/libldkcsharp.so ./ + LD_LIBRARY_PATH=. dotnet run --project tests.csproj + LD_LIBRARY_PATH=. dotnet run --project tests.csproj --configuration Release java_bindings: runs-on: ubuntu-latest