From 22948fbc84c20971d47289ddea5c9b38d2699508 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 3 Nov 2021 03:39:09 +0000 Subject: [PATCH] Use a branch for bindings, as rustc prevents us from using main --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 796a10c..a1fde26 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,10 @@ jobs: - name: Install cbindgen run: cargo install --force cbindgen - name: Checkout Rust-Lightning git - run: git clone https://github.com/rust-bitcoin/rust-lightning + run: | + git clone https://github.com/rust-bitcoin/rust-lightning + cd rust-lightning + git checkout 0.0.103-bindings - name: Rebuild bindings without std, and check the sample app builds + links run: ./genbindings.sh ./rust-lightning false - name: Rebuild bindings, and check the sample app builds + links @@ -77,7 +80,10 @@ jobs: - name: Install cbindgen run: cargo install --force cbindgen - name: Checkout Rust-Lightning git - run: git clone https://github.com/rust-bitcoin/rust-lightning + run: | + git clone https://github.com/rust-bitcoin/rust-lightning + cd rust-lightning + git checkout 0.0.103-bindings - name: Rebuild bindings using Apple clang, and check the sample app builds + links run: ./genbindings.sh ./rust-lightning true - name: Rebuild bindings using upstream clang, and check the sample app builds + links -- 2.30.2