Make more crates compile for WASM browser (#2524)

* Make more crates compile for WASM browser

* More crates

* Update .gitlab-ci.yml

Co-Authored-By: Sergei Pepyakin <s.pepyakin@gmail.com>
This commit is contained in:
Pierre Krieger
2019-05-09 18:41:50 +02:00
committed by André Silva
parent 9927c336d3
commit cad1f19d48
2 changed files with 140 additions and 27 deletions
+11 -1
View File
@@ -88,10 +88,20 @@ check-web-wasm:
- /^[0-9]+$/
script:
# WASM support is in progress. As more and more crates support WASM, we
# should add entries here.
# should add entries here. See https://github.com/paritytech/substrate/issues/2416
- time cargo web build -p sr-io
- time cargo web build -p sr-primitives
- time cargo web build -p sr-std
- time cargo web build -p substrate-consensus-common
- time cargo web build -p substrate-executor
- time cargo web build -p substrate-network-libp2p
- time cargo web build -p substrate-panic-handler
- time cargo web build -p substrate-peerset
- time cargo web build -p substrate-primitives
- time cargo web build -p substrate-serializer
- time cargo web build -p substrate-state-db
- time cargo web build -p substrate-state-machine
- time cargo web build -p substrate-trie
.build-only: &build-only
only: