mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Only try to build lightning-transaction-sync
if we meet its MSRV
This should fix CI
This commit is contained in:
parent
f6e0ad2a05
commit
f38b80ab64
1 changed files with 6 additions and 1 deletions
|
@ -77,7 +77,12 @@ popd
|
||||||
echo -e "\n\nTesting no-std build on a downstream no-std crate"
|
echo -e "\n\nTesting no-std build on a downstream no-std crate"
|
||||||
# check no-std compatibility across dependencies
|
# check no-std compatibility across dependencies
|
||||||
pushd no-std-check
|
pushd no-std-check
|
||||||
|
if [[ $RUSTC_MINOR_VERSION -gt 67 ]]; then
|
||||||
|
# lightning-transaction-sync's MSRV is 1.67
|
||||||
cargo check --verbose --color always --features lightning-transaction-sync
|
cargo check --verbose --color always --features lightning-transaction-sync
|
||||||
|
else
|
||||||
|
cargo check --verbose --color always
|
||||||
|
fi
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Test that we can build downstream code with only the "release pins".
|
# Test that we can build downstream code with only the "release pins".
|
||||||
|
|
Loading…
Add table
Reference in a new issue