Skip to content

Commit d6a5162

Browse files
committed
CI: Tie elects into CI correctly
For `electrs` to build in CI it needs a `contrib` directory.
1 parent 186b3b6 commit d6a5162

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

electrsd/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ documentation = "https://docs.rs/elecrtsd/"
88
license = "MIT"
99
edition = "2018"
1010
categories = ["cryptography::cryptocurrencies", "development-tools::testing"]
11+
exclude = ["tests", "contrib"]
1112

1213
[dependencies]
1314
bitcoind = { version = "0.37.0", path = "../bitcoind" }

electrsd/contrib/test_vars.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# No shebang, this file should not be executed.
2+
# shellcheck disable=SC2148
3+
#
4+
# disable verify unused vars, despite the fact that they are used when sourced
5+
# shellcheck disable=SC2034
6+
7+
# Test all these features with "std" enabled.
8+
FEATURES_WITH_STD=""
9+
10+
# Test all these features without "std" or "alloc" enabled.
11+
FEATURES_WITHOUT_STD=""
12+
13+
# Run these examples.
14+
EXAMPLES=""
15+
16+
# Just check the latest minor version of the last three supported Core versions.
17+
# This is mainly for docs and MSRV - integration tests will catch any other errors.
18+
EXACT_FEATURES=("bitcoind_30_2,elects_0_10_6" "29_0_2,elects_0_10_6" "28_2,elects_0_10_6")

0 commit comments

Comments
 (0)