projects
/
ldk-c-bindings
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c64a6c
)
Update CI to work around missing version.rs
author
Matt Corallo
<git@bluematt.me>
Sun, 2 May 2021 22:36:34 +0000
(22:36 +0000)
committer
Matt Corallo
<git@bluematt.me>
Sun, 2 May 2021 22:47:28 +0000
(22:47 +0000)
.github/workflows/build.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/build.yml
b/.github/workflows/build.yml
index b68feb7b96c1b05af6e74567d00d6e1574ad7067..b64b7c09c5d4b6e6b20500bfdaa0487be3965a1c 100644
(file)
--- a/
.github/workflows/build.yml
+++ b/
.github/workflows/build.yml
@@
-18,9
+18,14
@@
jobs:
apt-get -y install cargo libstd-rust-dev-wasm32 valgrind lld git g++ clang
- name: Checkout source code
uses: actions/checkout@v2
apt-get -y install cargo libstd-rust-dev-wasm32 valgrind lld git g++ clang
- name: Checkout source code
uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
- name: Sanity test bindings against Cargo.toml RL
working-directory: lightning-c-bindings
- name: Sanity test bindings against Cargo.toml RL
working-directory: lightning-c-bindings
- run: cargo check
+ run: |
+ # Note that the version tags aren't checked into git
+ touch src/version.rs
+ cargo check
- name: Install cbindgen
run: cargo install --force cbindgen
- name: Checkout Rust-Lightning git
- name: Install cbindgen
run: cargo install --force cbindgen
- name: Checkout Rust-Lightning git