From: Matt Corallo Date: Wed, 3 Nov 2021 03:39:09 +0000 (+0000) Subject: Use a branch for bindings, as rustc prevents us from using main X-Git-Tag: v0.0.103.0^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-c-bindings;a=commitdiff_plain;h=22948fbc84c20971d47289ddea5c9b38d2699508 Use a branch for bindings, as rustc prevents us from using main --- 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