Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,32 @@ env:
DOCKER_USER_OPTION: '$UID:$GID'

jobs:
check:
name: Check
check-benchmarks:
name: Check Benchmarks
runs-on:
- self-hosted
- linux
- x64
- sre
steps:
- uses: actions/checkout@v2
- run: |
SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo check --all --benches
- name: Benchmark
- name: Compile Check with WASM
run: |
SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo check --features=runtime-benchmarks --workspace --release --exclude integration-tests
- name: Picasso
/home/runner/.cargo/bin/cargo check --features=runtime-benchmarks --workspace --exclude integration-tests

check-std:
name: Check STD
runs-on:
- self-hosted
- linux
- x64
- sre
steps:
- uses: actions/checkout@v2
- name: Compile check with std
run: |
/home/runner/.cargo/bin/cargo build --release -p picasso-runtime
SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo check --features=std --workspace --exclude integration-tests

linters:
name: Linters
runs-on:
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ composable-node = { path = "node", features = [ "composable", "dali" ] }
color-eyre = { version = "0.5.11", default-features = false }

[features]
runtime-benchmarks= [ "composable-node/runtime-benchmarks" ]
runtime-benchmarks = [ "composable-node/runtime-benchmarks" ]
std = [ "composable-node/std" ]

[workspace]
members = [
Expand Down
2 changes: 2 additions & 0 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ runtime-benchmarks = ["picasso-runtime/runtime-benchmarks", "composable-runtime/
ocw = []
dali = ["dali-runtime"]
composable = ["composable-runtime"]
std = ["picasso-runtime/std", "composable-runtime/std", "dali-runtime/std"]


[package.metadata.cargo-udeps.ignore]
normal = ["pallet-bonded-finance"]
Expand Down