Skip to content

Commit

Permalink
Add std feature check
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiserKarel committed Jan 14, 2022
1 parent ac93a09 commit a146f9e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +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
- name: Compile Check
- name: Compile Check with WASM
run: |
/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: |
SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo check --features=std --workspace --exclude integration-tests
linters:
name: Linters
runs-on:
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

0 comments on commit a146f9e

Please sign in to comment.