@@ -108,15 +108,15 @@ jobs:
108108 runs-on : ubuntu-latest
109109 # Ubuntu's version of rustc uses its own LLVM instead of being a real native package.
110110 # This leaves us with an incompatible LLVM version when linking. Instead, use a real OS.
111- container : debian:bullseye
111+ container : debian:bookworm
112112 strategy :
113113 fail-fast : false
114114 steps :
115115 - name : Install native Rust toolchain, Valgrind, and build utilitis
116116 run : |
117117 apt-get update
118118 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
120120 - name : Checkout source code
121121 uses : actions/checkout@v2
122122 with :
@@ -153,15 +153,15 @@ jobs:
153153 cd ldk-c-bindings
154154 ./genbindings.sh ../rust-lightning true
155155 - 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
157157 - name : Run Java Tests against Debug Bindings
158158 run : |
159159 mv liblightningjni_debug_Linux-amd64.so liblightningjni.so
160160 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
162162 - name : Build Java Release Bindings
163163 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
165165 - name : Check latest headers are in git
166166 run : |
167167 git checkout pom.xml
@@ -171,15 +171,15 @@ jobs:
171171 runs-on : ubuntu-latest
172172 # Ubuntu's version of rustc uses its own LLVM instead of being a real native package.
173173 # This leaves us with an incompatible LLVM version when linking. Instead, use a real OS.
174- container : debian:bullseye
174+ container : debian:bookworm
175175 strategy :
176176 fail-fast : false
177177 steps :
178178 - name : Install native Rust toolchain, Valgrind, and build utilitis
179179 run : |
180180 apt-get update
181181 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
183183 - name : Checkout source code
184184 uses : actions/checkout@v2
185185 with :
@@ -238,7 +238,7 @@ jobs:
238238 - name : Build Leaktracking Java Release Bindings
239239 run : |
240240 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
242242 - name : Build deterministic release jar
243243 run : |
244244 ./build-release-jar.sh
@@ -251,7 +251,7 @@ jobs:
251251 - name : Build Java Release Bindings
252252 run : |
253253 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
255255 - name : Build deterministic release jar
256256 run : ./build-release-jar.sh
257257 - name : Check latest library and jars are in bins repo
@@ -409,15 +409,15 @@ jobs:
409409 android :
410410 runs-on : ubuntu-latest
411411 # 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
413413 strategy :
414414 fail-fast : false
415415 steps :
416416 - name : Install rust targets
417417 run : |
418418 apt-get update
419419 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
421421 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
422422 chmod +x ./rustup.sh
423423 ./rustup.sh -y
0 commit comments