@@ -39,14 +39,15 @@ jobs:
3939 # Note this is a different endpoint, as we need one non-upstream commit!
4040 git clone https://git.bitcoin.ninja/rust-lightning
4141 cd rust-lightning
42- git checkout origin/2022-10-112 -java-bindings
42+ git checkout origin/2022-12-0.0.113 -java-bindings
4343 cd ..
4444 git clone https://github.com/lightningdevkit/ldk-c-bindings
4545 cd ldk-c-bindings
46- git checkout 0.0.112
46+ git checkout 0.0.113
4747 - name : Rebuild C bindings without STD
4848 run : |
4949 cd ldk-c-bindings
50+ git config --global safe.directory "*"
5051 ./genbindings.sh ../rust-lightning false
5152 - name : Build and Test TS Debug Bindings for Node
5253 run : |
6667 export HOME=/root/ # Github actions is apparently broken
6768 export PATH=$(pwd)/$(echo node-*/bin):$PATH
6869 # npx playwright install-deps is broken so we do it manually, see https://github.com/microsoft/playwright/issues/11165
69- apt-get install -y --no-install-recommends fonts-liberation libenchant-2-2 libicu71 libjpeg62-turbo libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcairo2 libcups2 libdbus-1-3 libdrm2 libegl1 libgbm1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxrandr2 libxshmfence1 xvfb fonts-noto-color-emoji fonts-unifont libfontconfig libfreetype6 xfonts-scalable fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf ffmpeg libcairo-gobject2 libdbus-glib-1-2 libfontconfig1 libgdk-pixbuf2.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libxcb-shm0 libxcursor1 libxi6 libxrender1 libxt6 gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good libepoxy0 libevdev2 libgl1 libgles2 libgstreamer-gl1.0-0 libgstreamer1.0-0 libharfbuzz-icu0 libharfbuzz0b libhyphen0 libnotify4 libopenjp2-7 libopus0 libpng16-16 libsecret-1-0 libsoup2.4-1 libwayland-client0 libwayland-egl1 libwayland-server0 libwebp7 libwebpdemux2 libwoff1 libxkbcommon0 libxml2 libxslt1.1
70+ apt-get install -y --no-install-recommends fonts-liberation libenchant-2-2 libicu72 libjpeg62-turbo libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcairo2 libcups2 libdbus-1-3 libdrm2 libegl1 libgbm1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxrandr2 libxshmfence1 xvfb fonts-noto-color-emoji fonts-unifont libfontconfig libfreetype6 xfonts-scalable fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf ffmpeg libcairo-gobject2 libdbus-glib-1-2 libfontconfig1 libgdk-pixbuf2.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libxcb-shm0 libxcursor1 libxi6 libxrender1 libxt6 gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good libepoxy0 libevdev2 libgl1 libgles2 libgstreamer-gl1.0-0 libgstreamer1.0-0 libharfbuzz-icu0 libharfbuzz0b libhyphen0 libnotify4 libopenjp2-7 libopus0 libpng16-16 libsecret-1-0 libsoup2.4-1 libwayland-client0 libwayland-egl1 libwayland-server0 libwebp7 libwebpdemux2 libwoff1 libxkbcommon0 libxml2 libxslt1.1
7071 mkdir -p $HOME/.cache/ms-playwright # `playwright install` is too dumb to create this for us
7172 chmod -R 777 $HOME/
7273 npm i -D playwright
7576 run : |
7677 export HOME=/root/ # Github actions is apparently broken
7778 export PATH=$(pwd)/$(echo node-*/bin):$PATH
79+ git config --global safe.directory "*"
7880 ./genbindings.sh ./ldk-c-bindings/ wasm true true
7981 cd ts
8082 rm liblightningjs.wasm && ln -s $(pwd)/../liblightningjs_debug.wasm ./liblightningjs.wasm
@@ -130,11 +132,11 @@ jobs:
130132 # Note this is a different endpoint, as we need one non-upstream commit!
131133 git clone https://git.bitcoin.ninja/rust-lightning
132134 cd rust-lightning
133- git checkout origin/2022-10-112 -java-bindings
135+ git checkout origin/2022-12-0.0.113 -java-bindings
134136 cd ..
135137 git clone https://github.com/lightningdevkit/ldk-c-bindings
136138 cd ldk-c-bindings
137- git checkout 0.0.112
139+ git checkout 0.0.113
138140 - name : Rebuild C bindings, and check the sample app builds + links
139141 run : |
140142 cd ldk-c-bindings
@@ -185,11 +187,11 @@ jobs:
185187 # Note this is a different endpoint, as we need one non-upstream commit!
186188 git clone https://git.bitcoin.ninja/rust-lightning
187189 cd rust-lightning
188- git checkout origin/2022-10-112 -java-bindings
190+ git checkout origin/2022-12-0.0.113 -java-bindings
189191 cd ..
190192 git clone https://github.com/lightningdevkit/ldk-c-bindings
191193 cd ldk-c-bindings
192- git checkout 0.0.112
194+ git checkout 0.0.113
193195 - name : Rebuild C bindings, and check the sample app builds + links
194196 run : |
195197 cd ldk-c-bindings
@@ -288,11 +290,11 @@ jobs:
288290 # Note this is a different endpoint, as we need one non-upstream commit!
289291 git clone https://git.bitcoin.ninja/rust-lightning
290292 cd rust-lightning
291- git checkout origin/2022-10-112 -java-bindings
293+ git checkout origin/2022-12-0.0.113 -java-bindings
292294 cd ..
293295 git clone https://github.com/lightningdevkit/ldk-c-bindings
294296 cd ldk-c-bindings
295- git checkout 0.0.112
297+ git checkout 0.0.113
296298 - name : Checkout Android AAR binaries and artifacts
297299 run : |
298300 # Gitweb only allows snapshots of folders by providing the object hash, which we have to extract:
@@ -345,20 +347,20 @@ jobs:
345347 steps :
346348 - name : Install other Rust platforms
347349 run : rustup target install aarch64-apple-darwin
350+ - name : Checkout source code
351+ uses : actions/checkout@v2
352+ with :
353+ fetch-depth : 0
348354 - name : Fetch upstream LLVM/clang snapshot
349355 run : |
350- wget -O clang+llvm-14 .0.5 -x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-14 .0.5 /clang+llvm-14 .0.5 -x86_64-apple-darwin.tar.xz
351- if [ "$(shasum -a 256 clang+llvm-14 .0.5 -x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "66cf1b8e00289a567b2f5f740f068b7682e27ccf048647b836d3624376a64705 " ]; then
356+ wget -O clang+llvm-15 .0.3 -x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-15 .0.3 /clang+llvm-15 .0.3 -x86_64-apple-darwin.tar.xz
357+ if [ "$(shasum -a 256 clang+llvm-15 .0.3 -x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "ac668586b2b3d068f1e43520a3ef0b1592e5dc3eff1a4a4b772e29803b428a69 " ]; then
352358 echo "Bad hash"
353359 exit 1
354360 fi
355361 - name : Unpack upstream LLVM+clang and use it by default
356362 run : |
357- tar xvvf clang+llvm-14.0.5-x86_64-apple-darwin.tar.xz
358- - name : Checkout source code
359- uses : actions/checkout@v2
360- with :
361- fetch-depth : 0
363+ tar xvvf clang+llvm-15.0.3-x86_64-apple-darwin.tar.xz
362364 - name : Install cbindgen
363365 run : cargo install cbindgen
364366 - name : Checkout Rust-Lightning and LDK-C-Bindings git
@@ -368,14 +370,14 @@ jobs:
368370 # Note this is a different endpoint, as we need one non-upstream commit!
369371 git clone https://git.bitcoin.ninja/rust-lightning
370372 cd rust-lightning
371- git checkout origin/2022-10-112 -java-bindings
373+ git checkout origin/2022-12-0.0.113 -java-bindings
372374 cd ..
373375 git clone https://github.com/lightningdevkit/ldk-c-bindings
374376 cd ldk-c-bindings
375- git checkout 0.0.112
377+ git checkout 0.0.113
376378 - name : Rebuild C bindings with upstream clang, and check the sample app builds + links
377379 run : |
378- export PATH=`pwd`/clang+llvm-14 .0.5 -x86_64-apple-darwin/bin:$PATH
380+ export PATH=`pwd`/clang+llvm-15 .0.3 -x86_64-apple-darwin/bin:$PATH
379381 cd ldk-c-bindings
380382 CC=clang ./genbindings.sh ../rust-lightning true
381383 - name : Fetch OpenJDK 18
@@ -414,7 +416,7 @@ jobs:
414416 export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
415417 export JAVA_HOME=`pwd`/jdk-18.0.1.1.jdk/Contents/Home
416418 export PATH=$JAVA_HOME/bin:$PATH
417- export PATH=`pwd`/clang+llvm-14 .0.5 -x86_64-apple-darwin/bin:$PATH
419+ export PATH=`pwd`/clang+llvm-15 .0.3 -x86_64-apple-darwin/bin:$PATH
418420 ./genbindings.sh ./ldk-c-bindings/ "-I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin -isysroot$(xcrun --show-sdk-path)" false false
419421
420422 if [ "${{ matrix.platform }}" = "macos-11" ]; then
0 commit comments