@@ -108,15 +108,15 @@ jobs:
108
108
runs-on : ubuntu-latest
109
109
# Ubuntu's version of rustc uses its own LLVM instead of being a real native package.
110
110
# This leaves us with an incompatible LLVM version when linking. Instead, use a real OS.
111
- container : debian:bullseye
111
+ container : debian:bookworm
112
112
strategy :
113
113
fail-fast : false
114
114
steps :
115
115
- name : Install native Rust toolchain, Valgrind, and build utilitis
116
116
run : |
117
117
apt-get update
118
118
apt-get -y dist-upgrade
119
- apt-get -y install cargo valgrind lld git g++ clang openjdk-11 -jdk maven faketime zip unzip llvm curl
119
+ apt-get -y install cargo valgrind lld git g++ clang openjdk-17 -jdk maven faketime zip unzip llvm curl
120
120
- name : Checkout source code
121
121
uses : actions/checkout@v2
122
122
with :
@@ -153,15 +153,15 @@ jobs:
153
153
cd ldk-c-bindings
154
154
./genbindings.sh ../rust-lightning true
155
155
- name : Build Java Debug Bindings
156
- run : ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-11 -openjdk-amd64/include/ -I/usr/lib/jvm/java-11 -openjdk-amd64/include/linux/" true false
156
+ run : ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-17 -openjdk-amd64/include/ -I/usr/lib/jvm/java-17 -openjdk-amd64/include/linux/" true false
157
157
- name : Run Java Tests against Debug Bindings
158
158
run : |
159
159
mv liblightningjni_debug_Linux-amd64.so liblightningjni.so
160
160
export ASAN_OPTIONS=detect_leaks=0
161
- LD_PRELOAD=/usr/lib/llvm-11 /lib/clang/11 .0.1 /lib/linux/libclang_rt.asan-x86_64.so LD_LIBRARY_PATH=. mvn test
161
+ LD_PRELOAD=/usr/lib/llvm-14 /lib/clang/14 .0.6 /lib/linux/libclang_rt.asan-x86_64.so LD_LIBRARY_PATH=. mvn test
162
162
- name : Build Java Release Bindings
163
163
run : |
164
- ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-11 -openjdk-amd64/include/ -I/usr/lib/jvm/java-11 -openjdk-amd64/include/linux/" false false
164
+ ./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
165
165
- name : Check latest headers are in git
166
166
run : |
167
167
git checkout pom.xml
@@ -171,15 +171,15 @@ jobs:
171
171
runs-on : ubuntu-latest
172
172
# Ubuntu's version of rustc uses its own LLVM instead of being a real native package.
173
173
# This leaves us with an incompatible LLVM version when linking. Instead, use a real OS.
174
- container : debian:bullseye
174
+ container : debian:bookworm
175
175
strategy :
176
176
fail-fast : false
177
177
steps :
178
178
- name : Install native Rust toolchain, Valgrind, and build utilitis
179
179
run : |
180
180
apt-get update
181
181
apt-get -y dist-upgrade
182
- apt-get -y install cargo valgrind lld git g++ clang openjdk-11 -jdk maven faketime zip unzip llvm curl
182
+ apt-get -y install cargo valgrind lld git g++ clang openjdk-17 -jdk maven faketime zip unzip llvm curl
183
183
- name : Checkout source code
184
184
uses : actions/checkout@v2
185
185
with :
@@ -238,7 +238,7 @@ jobs:
238
238
- name : Build Leaktracking Java Release Bindings
239
239
run : |
240
240
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
241
- ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-11 -openjdk-amd64/include/ -I/usr/lib/jvm/java-11 -openjdk-amd64/include/linux/" leaks false
241
+ ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-17 -openjdk-amd64/include/ -I/usr/lib/jvm/java-17 -openjdk-amd64/include/linux/" leaks false
242
242
- name : Build deterministic release jar
243
243
run : |
244
244
./build-release-jar.sh
@@ -251,7 +251,7 @@ jobs:
251
251
- name : Build Java Release Bindings
252
252
run : |
253
253
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
254
- ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-11 -openjdk-amd64/include/ -I/usr/lib/jvm/java-11 -openjdk-amd64/include/linux/" false false
254
+ ./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
255
255
- name : Build deterministic release jar
256
256
run : ./build-release-jar.sh
257
257
- name : Check latest library and jars are in bins repo
@@ -409,15 +409,15 @@ jobs:
409
409
android :
410
410
runs-on : ubuntu-latest
411
411
# Frankly, I'm not really sure why debian and ubuntu differ in the results here, they really shouldn't
412
- container : debian:bullseye
412
+ container : debian:bookworm
413
413
strategy :
414
414
fail-fast : false
415
415
steps :
416
416
- name : Install rust targets
417
417
run : |
418
418
apt-get update
419
419
apt-get -y dist-upgrade
420
- apt-get -y install git g++ clang faketime zip unzip curl openjdk-11 -jdk
420
+ apt-get -y install git g++ clang faketime zip unzip curl openjdk-17 -jdk
421
421
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
422
422
chmod +x ./rustup.sh
423
423
./rustup.sh -y
0 commit comments