]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Use a branch for bindings, as rustc prevents us from using main
authorMatt Corallo <git@bluematt.me>
Wed, 3 Nov 2021 03:39:09 +0000 (03:39 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 3 Nov 2021 17:37:53 +0000 (17:37 +0000)
.github/workflows/build.yml

index 796a10c99f6bb9a27df60b1040396ee7e535af14..a1fde26b241f4b843cbf8efa70b6bff84c442614 100644 (file)
@@ -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