Skip to content

Commit af8901f

Browse files
authored
Add missing features (#10)
1 parent 1c62506 commit af8901f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ jobs:
6868
run: SKIP_WASM_BUILD=1 cargo doc --workspace --no-deps
6969
timeout-minutes: 15
7070

71+
# This is mentioned as example in the README:
72+
- name: Build the node individually in release mode
73+
run: |
74+
# Save some space from debug builds
75+
rm -rf ./target
76+
cargo build --package solochain-template-node --release
77+
timeout-minutes: 90
78+
7179
build-docker:
7280
runs-on: ubuntu-latest
7381
steps:

node/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ substrate-build-script-utils.workspace = true
8585
substrate-build-script-utils.default-features = true
8686

8787
[features]
88-
default = []
88+
default = ["std"]
89+
std = [
90+
"solochain-template-runtime/std",
91+
]
8992
# Dependencies that are only required if runtime benchmarking should be build.
9093
runtime-benchmarks = [
9194
"frame-benchmarking-cli/runtime-benchmarks",

0 commit comments

Comments
 (0)