Skip to content

Commit 1b627cd

Browse files
authored
Add missing features (#15)
1 parent b6770d6 commit 1b627cd

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 minimal-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
@@ -70,4 +70,7 @@ substrate-build-script-utils.workspace = true
7070
substrate-build-script-utils.default-features = true
7171

7272
[features]
73-
default = []
73+
default = ["std"]
74+
std = [
75+
"minimal-template-runtime/std",
76+
]

0 commit comments

Comments
 (0)