Skip to content

Commit

Permalink
Disable Substrate no-std check as it won't build on latest nightlies (#…
Browse files Browse the repository at this point in the history
…1302)

* Disable Substrate no-std check as it won't build on latest nightlies

* Update tracing-subscriber
  • Loading branch information
romac committed Apr 25, 2023
1 parent 9e48f17 commit 9f0ee2b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/no-std.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ jobs:
cd tools/no-std-check
make check-panic-conflict
check-substrate:
name: Check no_std substrate support
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
override: true
- run: |
cd tools/no-std-check
make check-substrate
# Disabled until sp-io removes this feature which was removed in latest nightlies:
# https://github.com/paritytech/substrate/blob/b5846ccc8480806aa6035ae4d2e89d61930f697e/primitives/io/src/lib.rs#L22
# check-substrate:
# name: Check no_std substrate support
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# target: wasm32-unknown-unknown
# override: true
# - run: |
# cd tools/no-std-check
# make check-substrate
2 changes: 1 addition & 1 deletion tools/kvstore-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ tendermint-light-client = { version = "0.31.1", path = "../../light-client", fea
tendermint-rpc = { version = "0.31.1", path = "../../rpc", features = [ "http-client", "websocket-client" ] }
tokio = { version = "1.0", features = [ "rt-multi-thread", "macros" ] }
tracing = "0.1"
tracing-subscriber = "0.2"
tracing-subscriber = "0.3"
contracts = "0.4.0"
serde_json = "1"
2 changes: 1 addition & 1 deletion tools/kvstore-test/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ args = ["run", "--name", "${CONTAINER_NAME}", "--rm", "--publish", "26657:${HOST
dependencies = ["docker-up-stop-old", "docker-up-rm-old"]

[tasks.test]
args = ["test", "--all-features", "--", "--nocapture"]
args = ["test", "--all-features", "--", "--nocapture", "--test-threads=1"]

[tasks.docker-stop]
command = "docker"
Expand Down

0 comments on commit 9f0ee2b

Please sign in to comment.