From: Matt Corallo Date: Tue, 28 Jun 2022 22:05:12 +0000 (+0000) Subject: Update CI cbindgen install script to work with MSRV X-Git-Tag: v0.0.108.0^2~2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=0378e686b2ad96797fbf22e4c94f8399d057c5dd;p=ldk-java Update CI cbindgen install script to work with MSRV --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e079f01..56ec6993 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,12 @@ jobs: with: fetch-depth: 0 - name: Install cbindgen - run: cargo install --version 0.20.0 cbindgen + run: | + git clone https://github.com/eqrion/cbindgen + cd cbindgen/ + git checkout v0.20.0 + cargo update -p indexmap --precise "1.6.2" --verbose + cargo install --locked --path . - name: Checkout Rust-Lightning and LDK-C-Bindings git run: | git config --global user.email "ldk-ci@example.com" @@ -110,7 +115,12 @@ jobs: with: fetch-depth: 0 - name: Install cbindgen - run: cargo install --version 0.20.0 cbindgen + run: | + git clone https://github.com/eqrion/cbindgen + cd cbindgen/ + git checkout v0.20.0 + cargo update -p indexmap --precise "1.6.2" --verbose + cargo install --locked --path . - name: Checkout Rust-Lightning and LDK-C-Bindings git run: | git config --global user.email "ldk-ci@example.com" @@ -160,7 +170,12 @@ jobs: with: fetch-depth: 0 - name: Install cbindgen - run: cargo install --version 0.20.0 cbindgen + run: | + git clone https://github.com/eqrion/cbindgen + cd cbindgen/ + git checkout v0.20.0 + cargo update -p indexmap --precise "1.6.2" --verbose + cargo install --locked --path . - name: Checkout Rust-Lightning and LDK-C-Bindings git run: | git config --global user.email "ldk-ci@example.com" @@ -263,7 +278,7 @@ jobs: - name: Install cbindgen run: | . $HOME/.cargo/env - cargo install --version 0.20.0 cbindgen + cargo install cbindgen - name: Checkout Rust-Lightning and LDK-C-Bindings git run: | git config --global user.email "ldk-ci@example.com" @@ -343,7 +358,7 @@ jobs: with: fetch-depth: 0 - name: Install cbindgen - run: cargo install --version 0.20.0 cbindgen + run: cargo install cbindgen - name: Checkout Rust-Lightning and LDK-C-Bindings git run: | git config --global user.email "ldk-ci@example.com"