From af8901fed9dfab0a11c75ac3ad3f11a7e93dc298 Mon Sep 17 00:00:00 2001 From: Przemek Rzad Date: Thu, 8 Aug 2024 18:40:14 +0200 Subject: [PATCH] Add missing features (#10) --- .github/workflows/ci.yml | 8 ++++++++ node/Cargo.toml | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b52ec02..a050ac2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,6 +68,14 @@ jobs: run: SKIP_WASM_BUILD=1 cargo doc --workspace --no-deps timeout-minutes: 15 + # This is mentioned as example in the README: + - name: Build the node individually in release mode + run: | + # Save some space from debug builds + rm -rf ./target + cargo build --package solochain-template-node --release + timeout-minutes: 90 + build-docker: runs-on: ubuntu-latest steps: diff --git a/node/Cargo.toml b/node/Cargo.toml index 51eb827..8fa4175 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -85,7 +85,10 @@ substrate-build-script-utils.workspace = true substrate-build-script-utils.default-features = true [features] -default = [] +default = ["std"] +std = [ + "solochain-template-runtime/std", +] # Dependencies that are only required if runtime benchmarking should be build. runtime-benchmarks = [ "frame-benchmarking-cli/runtime-benchmarks",