@@ -40,11 +40,11 @@ jobs:
40
40
# Note this is a different endpoint, as we need one non-upstream commit!
41
41
git clone https://github.com/lightningdevkit/rust-lightning
42
42
cd rust-lightning
43
- git checkout origin/0.0.118 -bindings
43
+ git checkout origin/0.0.121 -bindings
44
44
cd ..
45
45
git clone https://github.com/lightningdevkit/ldk-c-bindings
46
46
cd ldk-c-bindings
47
- git checkout 0.0.118
47
+ git checkout 0.0.121
48
48
cd lightning-c-bindings
49
49
cargo update -p memchr --precise "2.5.0" --verbose
50
50
- name : Rebuild C bindings without STD
@@ -138,11 +138,11 @@ jobs:
138
138
# Note this is a different endpoint, as we need one non-upstream commit!
139
139
git clone https://github.com/lightningdevkit/rust-lightning
140
140
cd rust-lightning
141
- git checkout origin/0.0.118 -bindings
141
+ git checkout origin/0.0.121 -bindings
142
142
cd ..
143
143
git clone https://github.com/lightningdevkit/ldk-c-bindings
144
144
cd ldk-c-bindings
145
- git checkout 0.0.118
145
+ git checkout 0.0.121
146
146
cd lightning-c-bindings
147
147
cargo update -p memchr --precise "2.5.0" --verbose
148
148
- name : Rebuild C bindings with STD
@@ -185,11 +185,11 @@ jobs:
185
185
# Note this is a different endpoint, as we need one non-upstream commit!
186
186
git clone https://github.com/lightningdevkit/rust-lightning
187
187
cd rust-lightning
188
- git checkout origin/0.0.118 -bindings
188
+ git checkout origin/0.0.121 -bindings
189
189
cd ..
190
190
git clone https://github.com/lightningdevkit/ldk-c-bindings
191
191
cd ldk-c-bindings
192
- git checkout 0.0.118
192
+ git checkout 0.0.121
193
193
- name : Rebuild C bindings with STD
194
194
run : |
195
195
cd ldk-c-bindings
@@ -275,11 +275,11 @@ jobs:
275
275
# Note this is a different endpoint, as we need one non-upstream commit!
276
276
git clone https://github.com/lightningdevkit/rust-lightning
277
277
cd rust-lightning
278
- git checkout origin/0.0.118 -bindings
278
+ git checkout origin/0.0.121 -bindings
279
279
cd ..
280
280
git clone https://github.com/lightningdevkit/ldk-c-bindings
281
281
cd ldk-c-bindings
282
- git checkout 0.0.118
282
+ git checkout 0.0.121
283
283
cd lightning-c-bindings
284
284
cargo update -p memchr --precise "2.5.0" --verbose
285
285
- name : Pin proc-macro and quote to meet MSRV
@@ -338,11 +338,11 @@ jobs:
338
338
# Note this is a different endpoint, as we need one non-upstream commit!
339
339
git clone https://github.com/lightningdevkit/rust-lightning
340
340
cd rust-lightning
341
- git checkout origin/0.0.118 -bindings
341
+ git checkout origin/0.0.121 -bindings
342
342
cd ..
343
343
git clone https://github.com/lightningdevkit/ldk-c-bindings
344
344
cd ldk-c-bindings
345
- git checkout 0.0.118
345
+ git checkout 0.0.121
346
346
cd lightning-c-bindings
347
347
cargo update -p memchr --precise "2.5.0" --verbose
348
348
- name : Pin proc-macro and quote to meet MSRV
@@ -399,11 +399,20 @@ jobs:
399
399
./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-17-openjdk-amd64/include/ -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux/" false false
400
400
- name : Build deterministic release jar
401
401
run : ./build-release-jar.sh
402
+ - uses : actions/upload-artifact@v3
403
+ with :
404
+ name : ldk-java.jar
405
+ path : ldk-java.jar
406
+ - uses : actions/upload-artifact@v3
407
+ with :
408
+ name : ldk-java-leaktracking.jar
409
+ path : ldk-java-leaktracking.jar
402
410
- name : Check latest library and jars are in bins repo
403
411
run : |
404
412
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
405
413
cp "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/"liblightningjni_Mac*.nativelib ldk-java-bins/new/
406
414
cp "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/"LDK-release.aar ldk-java-bins/new/
415
+ cp "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/"org.ldk.nupkg ldk-java-bins/new/
407
416
cp src/main/resources/liblightningjni_Linux-amd64.nativelib ldk-java-bins/new/
408
417
cp ldk-java-sources.jar ldk-java-bins/new/
409
418
cp ldk-java.jar ldk-java-bins/new/
@@ -458,11 +467,11 @@ jobs:
458
467
# Note this is a different endpoint, as we need one non-upstream commit!
459
468
git clone https://github.com/lightningdevkit/rust-lightning
460
469
cd rust-lightning
461
- git checkout origin/0.0.118 -bindings
470
+ git checkout origin/0.0.121 -bindings
462
471
cd ..
463
472
git clone https://github.com/lightningdevkit/ldk-c-bindings
464
473
cd ldk-c-bindings
465
- git checkout 0.0.118
474
+ git checkout 0.0.121
466
475
- name : Fetch MacOS SDK
467
476
run : |
468
477
curl -o Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz https://bitcoincore.org/depends-sources/sdks/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
@@ -551,7 +560,7 @@ jobs:
551
560
android :
552
561
runs-on : ubuntu-latest
553
562
# Frankly, I'm not really sure why debian and ubuntu differ in the results here, they really shouldn't
554
- container : debian:bookworm
563
+ container : debian:bullseye
555
564
strategy :
556
565
fail-fast : false
557
566
steps :
@@ -595,11 +604,11 @@ jobs:
595
604
# Note this is a different endpoint, as we need one non-upstream commit!
596
605
git clone https://github.com/lightningdevkit/rust-lightning
597
606
cd rust-lightning
598
- git checkout origin/0.0.118 -bindings
607
+ git checkout origin/0.0.121 -bindings
599
608
cd ..
600
609
git clone https://github.com/lightningdevkit/ldk-c-bindings
601
610
cd ldk-c-bindings
602
- git checkout 0.0.118
611
+ git checkout 0.0.121
603
612
cd lightning-c-bindings
604
613
. $HOME/.cargo/env
605
614
cargo update -p memchr --precise "2.5.0" --verbose
@@ -635,6 +644,10 @@ jobs:
635
644
export ANDROID_TOOLCHAIN="$(pwd)/android-ndk-r22b/toolchains/llvm/prebuilt/linux-x86_64"
636
645
export PATH="$PATH:$ANDROID_TOOLCHAIN/bin"
637
646
./android-build.sh ./rust-lightning ./ldk-c-bindings/ ./ldk-java-bins/android-artifacts
647
+ - uses : actions/upload-artifact@v3
648
+ with :
649
+ name : LDK-release.aar
650
+ path : LDK-release.aar
638
651
- name : Check latest library and jars are in bins repo
639
652
run : |
640
653
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
@@ -671,11 +684,11 @@ jobs:
671
684
# Note this is a different endpoint, as we need one non-upstream commit!
672
685
git clone https://github.com/rghtningdevkit/ust-lightning
673
686
cd rust-lightning
674
- git checkout origin/0.0.118 -bindings
687
+ git checkout origin/0.0.121 -bindings
675
688
cd ..
676
689
git clone https://github.com/lightningdevkit/ldk-c-bindings
677
690
cd ldk-c-bindings
678
- git checkout 0.0.118
691
+ git checkout 0.0.121
679
692
cd lightning-c-bindings
680
693
cargo update -p memchr --precise "2.5.0" --verbose
681
694
- name : Rebuild C bindings and check the sample app builds + links
0 commit comments