# 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/2022-06-108-java-bindings
+ git checkout origin/2022-07-109-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.108
+ git checkout 0.0.109
- 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/2022-06-108-java-bindings
+ git checkout origin/2022-07-109-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.108
+ git checkout 0.0.109
- 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/2022-06-108-java-bindings
+ git checkout origin/2022-07-109-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.108
+ git checkout 0.0.109
- 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/2022-06-108-java-bindings
+ git checkout origin/2022-07-109-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.108
+ git checkout 0.0.109
- 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/2022-06-108-java-bindings
+ git checkout origin/2022-07-109-java-bindings
cd ..
git clone https://github.com/lightningdevkit/ldk-c-bindings
cd ldk-c-bindings
- git checkout 0.0.108
+ git checkout 0.0.109
- name: Rebuild C bindings with upstream clang, and check the sample app builds + links
run: |
export PATH=`pwd`/clang+llvm-14.0.5-x86_64-apple-darwin/bin:$PATH
To build the bindings locally, the bindings require some additional work which is still making its
way upstream, for now it should be built against the
-[rust-lightning 2021-03-java-bindings-base branch on git.bitcoin.ninja](https://git.bitcoin.ninja/?p=rust-lightning;a=shortlog;h=refs/heads/2021-03-java-bindings-base).
+[rust-lightning 2022-07-109-java-bindings branch on git.bitcoin.ninja](https://git.bitcoin.ninja/?p=rust-lightning;a=shortlog;h=refs/heads/2022-07-109-java-bindings).
Check that branch out locally as well as [ldk-c-bindings](https://github.com/lightningdevkit/ldk-c-bindings)
and run the `genbindings.sh` script in ldk-c-bindings to build the required binaries. Thereafter,
in this repo, run the `genbindings.sh` script with the first argument pointing to the ldk-c-bindings