projects
/
ldk-java
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f13cfe6
)
Update CI cbindgen install script to work with MSRV
author
Matt Corallo
<git@bluematt.me>
Tue, 28 Jun 2022 22:05:12 +0000
(22:05 +0000)
committer
Matt Corallo
<git@bluematt.me>
Wed, 29 Jun 2022 19:08:50 +0000
(19:08 +0000)
.github/workflows/build.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/build.yml
b/.github/workflows/build.yml
index 3e079f011652b9a022ab702c1aefdf246dfaad56..56ec69938a19117b179b4c6dbe24da450e977399 100644
(file)
--- a/
.github/workflows/build.yml
+++ b/
.github/workflows/build.yml
@@
-26,7
+26,12
@@
jobs:
with:
fetch-depth: 0
- name: Install cbindgen
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"
- 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
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"
- 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
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"
- 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
- 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"
- 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
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"
- name: Checkout Rust-Lightning and LDK-C-Bindings git
run: |
git config --global user.email "ldk-ci@example.com"