# Note this is a different endpoint, as we need one non-upstream commit!
git clone https://git.bitcoin.ninja/rust-lightning
cd rust-lightning
- git checkout origin/2023-02-0.0.114-java-bindings
+ git checkout origin/2023-04-0.0.115-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.114
+ git checkout 0.0.115
- name: Rebuild C bindings without STD
run: |
cd ldk-c-bindings
# Note this is a different endpoint, as we need one non-upstream commit!
git clone https://git.bitcoin.ninja/rust-lightning
cd rust-lightning
- git checkout origin/2023-02-0.0.114-java-bindings
+ git checkout origin/2023-04-0.0.115-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.114
+ git checkout 0.0.115
- name: Rebuild C bindings, and check the sample app builds + links
run: |
cd ldk-c-bindings
# Note this is a different endpoint, as we need one non-upstream commit!
git clone https://git.bitcoin.ninja/rust-lightning
cd rust-lightning
- git checkout origin/2023-02-0.0.114-java-bindings
+ git checkout origin/2023-04-0.0.115-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.114
+ git checkout 0.0.115
- name: Rebuild C bindings, and check the sample app builds + links
run: |
cd ldk-c-bindings
chmod +x ./rustup.sh
./rustup.sh -y
. $HOME/.cargo/env
+ # Temporarily use 1.67.1 to fix https://github.com/rust-lang/rust/issues/108943
+ rustup install 1.67.1
+ rustup default 1.67.1
rustup target add armv7-linux-androideabi
rustup target add aarch64-linux-android
rustup target add i686-linux-android
# Note this is a different endpoint, as we need one non-upstream commit!
git clone https://git.bitcoin.ninja/rust-lightning
cd rust-lightning
- git checkout origin/2023-02-0.0.114-java-bindings
+ git checkout origin/2023-04-0.0.115-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.114
+ git checkout 0.0.115
- name: Checkout Android AAR binaries and artifacts
run: |
# Gitweb only allows snapshots of folders by providing the object hash, which we have to extract:
# Note this is a different endpoint, as we need one non-upstream commit!
git clone https://git.bitcoin.ninja/rust-lightning
cd rust-lightning
- git checkout origin/2023-02-0.0.114-java-bindings
+ git checkout origin/2023-04-0.0.115-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.114
+ git checkout 0.0.115
- name: Rebuild C bindings with upstream clang, and check the sample app builds + links
run: |
export PATH=`pwd`/clang+llvm-15.0.7-x86_64-apple-darwin21.0/bin:$PATH