X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;fp=.github%2Fworkflows%2Fbuild.yml;h=0ff1d2ca0d2f70d87d5ae30172ba4a941e8dbc9c;hb=14ed92a2367e4017dc62895f6f8a895c4213b1ba;hp=f6c46f92e3b4761a230e8871402b2fd87fe9bd9b;hpb=e38583b5fa53d80fd4b7d1e99b202ca3dfce0226;p=ldk-java diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6c46f92..0ff1d2ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -195,13 +195,14 @@ jobs: cd ldk-c-bindings export LDK_C_BINDINGS_EXTRA_TARGETS=x86_64-pc-windows-gnu export LDK_C_BINDINGS_EXTRA_TARGET_CCS=`pwd`/deterministic-build-wrappers/clang-x86_64-windows + export LDK_C_BINDINGS_EXTRA_TARGET_LINK_LTO=true ./genbindings.sh ../rust-lightning true - name: Remove checked-in source to ensure its correctly checked-in run: rm c_sharp/src/org/ldk/enums/*.cs c_sharp/src/org/ldk/impl/*.cs c_sharp/src/org/ldk/structs/*.cs - name: Build Windows C# Bindings run: | export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)" - LDK_TARGET=x86_64-pc-windows-gnu ./genbindings.sh ./ldk-c-bindings/ c_sharp false false + LDK_TARGET=x86_64-pc-windows-gnu LDK_TARGET_CPU=sandybridge ./genbindings.sh ./ldk-c-bindings/ c_sharp false false - name: Build Linux C# Bindings run: | export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"