Skip to content

Commit

Permalink
Only try to build lightning-transaction-sync if we meet its MSRV
Browse files Browse the repository at this point in the history
This should fix CI
  • Loading branch information
TheBlueMatt committed Jul 18, 2023
1 parent f6e0ad2 commit f38b80a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ci/ci-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@ popd
echo -e "\n\nTesting no-std build on a downstream no-std crate"
# check no-std compatibility across dependencies
pushd no-std-check
cargo check --verbose --color always --features lightning-transaction-sync
if [[ $RUSTC_MINOR_VERSION -gt 67 ]]; then
# lightning-transaction-sync's MSRV is 1.67
cargo check --verbose --color always --features lightning-transaction-sync
else
cargo check --verbose --color always
fi
popd

# Test that we can build downstream code with only the "release pins".
Expand Down

0 comments on commit f38b80a

Please sign in to comment.