Skip to content

Commit 310ce89

Browse files
committed
Use the 0.0.99 branch of ldk-c-bindings in CI
1 parent 48908aa commit 310ce89

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
git checkout origin/2021-03-java-bindings-base
3333
cd ..
3434
git clone https://github.com/lightningdevkit/ldk-c-bindings
35+
cd ldk-c-bindings
36+
git checkout 0.0.99
3537
- name: Rebuild C bindings without STD for WASM
3638
run: |
3739
cd ldk-c-bindings
@@ -148,6 +150,8 @@ jobs:
148150
git checkout origin/2021-03-java-bindings-base
149151
cd ..
150152
git clone https://github.com/lightningdevkit/ldk-c-bindings
153+
cd ldk-c-bindings
154+
git checkout 0.0.99
151155
- name: Detect current git version
152156
run: |
153157
# We assume the top commit is just a bindings update commit, so we
@@ -213,13 +217,14 @@ jobs:
213217
run: |
214218
git config --global user.email "ldk-ci@example.com"
215219
git config --global user.name "LDK CI"
216-
git clone https://github.com/rust-bitcoin/rust-lightning
220+
# Note this is a different endpoint, as we need one non-upstream commit!
221+
git clone https://git.bitcoin.ninja/rust-lightning
217222
cd rust-lightning
218-
git remote add matt https://git.bitcoin.ninja/rust-lightning
219-
git fetch matt
220-
git merge matt/2021-03-java-bindings-base
223+
git checkout origin/2021-03-java-bindings-base
221224
cd ..
222225
git clone https://github.com/lightningdevkit/ldk-c-bindings
226+
cd ldk-c-bindings
227+
git checkout 0.0.99
223228
- name: Rebuild C bindings with upstream clang, and check the sample app builds + links
224229
run: |
225230
cd ldk-c-bindings

0 commit comments

Comments
 (0)