diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f25a848..cf6dfb2 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 minimal-template-node --release + timeout-minutes: 90 + build-docker: runs-on: ubuntu-latest steps: diff --git a/node/Cargo.toml b/node/Cargo.toml index 5c5709f..024cf4e 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -70,4 +70,7 @@ substrate-build-script-utils.workspace = true substrate-build-script-utils.default-features = true [features] -default = [] +default = ["std"] +std = [ + "minimal-template-runtime/std", +]