mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
Remove substrate-in-the-browser (#9541)
* Comment out browser stuff * Remove browser stuff * Remove more wasm transport code * Remove ExtTransport and rework how telemetry initialises. * Change (most) wasm-timer using code to use std::time * Rename CI-job * Aura does not compile for wasm * Remove testing in the browser on CI * Update README * Leave `StreamSink` be * fmt
This commit is contained in:
@@ -391,17 +391,11 @@ test-linux-stable-int:
|
||||
paths:
|
||||
- ${CI_COMMIT_SHORT_SHA}_int_failure.log
|
||||
|
||||
check-web-wasm:
|
||||
check-tracing:
|
||||
stage: test
|
||||
<<: *docker-env
|
||||
<<: *test-refs
|
||||
script:
|
||||
# WASM support is in progress. As more and more crates support WASM, we
|
||||
# should add entries here. See https://github.com/paritytech/substrate/issues/2416
|
||||
# Note: we don't need to test crates imported in `bin/node/cli`
|
||||
- time cargo build --manifest-path=client/consensus/aura/Cargo.toml --target=wasm32-unknown-unknown --features getrandom
|
||||
# Note: the command below is a bit weird because several Cargo issues prevent us from compiling the node in a more straight-forward way.
|
||||
- time cargo +nightly build --manifest-path=bin/node/cli/Cargo.toml --no-default-features --features browser --target=wasm32-unknown-unknown
|
||||
# with-tracing must be explicitly activated, we run a test to ensure this works as expected in both cases
|
||||
- time cargo +nightly test --manifest-path primitives/tracing/Cargo.toml --no-default-features
|
||||
- time cargo +nightly test --manifest-path primitives/tracing/Cargo.toml --no-default-features --features=with-tracing
|
||||
@@ -459,21 +453,6 @@ check-polkadot-companion-build:
|
||||
- cd polkadot && git rev-parse --abbrev-ref HEAD
|
||||
allow_failure: true
|
||||
|
||||
test-browser-node:
|
||||
stage: build
|
||||
<<: *docker-env
|
||||
<<: *test-refs
|
||||
needs:
|
||||
- job: check-web-wasm
|
||||
artifacts: false
|
||||
variables:
|
||||
<<: *default-vars
|
||||
CHROMEDRIVER_ARGS: "--log-level=INFO --whitelisted-ips=127.0.0.1"
|
||||
CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER: "wasm-bindgen-test-runner"
|
||||
WASM_BINDGEN_TEST_TIMEOUT: 120
|
||||
script:
|
||||
- cargo +nightly test --target wasm32-unknown-unknown -p node-browser-testing
|
||||
|
||||
build-linux-substrate: &build-binary
|
||||
stage: build
|
||||
<<: *collect-artifacts
|
||||
|
||||
Reference in New Issue
Block a user