Add CI for monorepo (#1145)

* Add CI for monorepo

* fix frame tests

* Format features

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* add note for skipping tests and disable test-linux-stable-all

* Fix tests and compile issues (#1152)

* Fix feature dependant import

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Bump test timeout

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Remove feature gate

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add resolver 2

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Remove old lockfile

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Format features

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix check-dependency-rules

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* rm test-runtime

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Actually fix script

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* enable cargo-check-each-crate-macos

* Run check-each-crate on 6 machines (#1163)

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Alexander Samusev
2023-08-25 16:35:22 +02:00
committed by GitHub
parent 1a38d6d6be
commit e49493442a
157 changed files with 5001 additions and 18604 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ hex = "0.4.3"
hex-literal = "0.4.1"
[features]
default = ["std"]
default = [ "std" ]
wasm-api = []
std = [
"bounded-collections/std",
@@ -35,7 +35,7 @@ polkadot-runtime-common = { path = "../../runtime/common" }
polkadot-primitives = { path = "../../primitives" }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"frame-benchmarking/std",
@@ -45,13 +45,13 @@ std = [
"sp-runtime/std",
"sp-std/std",
"xcm-builder/std",
"xcm-executor/std"
"xcm-executor/std",
]
runtime-benchmarks = [
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
]
+10 -12
View File
@@ -31,25 +31,23 @@ polkadot-parachain = { path = "../../parachain" }
xcm-builder = { path = "../xcm-builder" }
[features]
default = ["std"]
default = [ "std" ]
# Enable `VersionedRuntimeUpgrade` for the migrations that is currently still experimental.
experimental = [
"frame-support/experimental"
]
experimental = [ "frame-support/experimental" ]
std = [
"bounded-collections/std",
"codec/std",
"scale-info/std",
"serde",
"sp-std/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"xcm/std",
"scale-info/std",
"serde",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"xcm-executor/std",
"xcm/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
@@ -57,4 +55,4 @@ runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
try-runtime = [ "frame-support/try-runtime" ]
+9 -9
View File
@@ -37,26 +37,26 @@ assert_matches = "1.5.0"
polkadot-test-runtime = { path = "../../runtime/test-runtime" }
[features]
default = ["std"]
default = [ "std" ]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
]
std = [
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-transaction-payment/std",
"parity-scale-codec/std",
"polkadot-parachain/std",
"scale-info/std",
"xcm/std",
"xcm-executor/std",
"sp-std/std",
"sp-arithmetic/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-weights/std",
"frame-support/std",
"frame-system/std",
"polkadot-parachain/std",
"pallet-transaction-payment/std",
"xcm-executor/std",
"xcm/std",
]
+11 -13
View File
@@ -22,20 +22,18 @@ log = { version = "0.4.17", default-features = false }
frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true }
[features]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
]
default = [ "std" ]
runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks" ]
std = [
"parity-scale-codec/std",
"xcm/std",
"sp-std/std",
"sp-io/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-runtime/std",
"sp-weights/std",
"frame-benchmarking/std",
"frame-support/std",
"log/std",
"frame-benchmarking/std",
"parity-scale-codec/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-weights/std",
"xcm/std",
]
@@ -25,9 +25,5 @@ xcm-executor = { path = ".." }
sp-tracing = { path = "../../../../substrate/primitives/tracing" }
[features]
default = ["std"]
std = [
"xcm/std",
"sp-runtime/std",
"frame-support/std",
]
default = [ "std" ]
std = [ "frame-support/std", "sp-runtime/std", "xcm/std" ]
@@ -34,14 +34,14 @@ polkadot-parachain = { path = "../../../parachain" }
[features]
default = []
runtime-benchmarks = [
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-uniques/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
]
+4 -4
View File
@@ -32,10 +32,10 @@ polkadot-parachain = { path = "../../../parachain" }
[features]
runtime-benchmarks = [
"pallet-xcm/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
]
[[bin]]