mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Add WASM CI checks and make availability-store compile for WASM (#626)
* Make availability-store compile for WASM * Use --manifest-path instead
This commit is contained in:
committed by
Gavin Wood
parent
33eb0b7ba6
commit
ed7ee57290
+19
-2
@@ -40,7 +40,7 @@ variables:
|
||||
.docker-env: &docker-env
|
||||
retry:
|
||||
max: 2
|
||||
when:
|
||||
when:
|
||||
- runner_system_failure
|
||||
- unknown_failure
|
||||
- api_failure
|
||||
@@ -131,6 +131,23 @@ test-linux-stable: &test
|
||||
- sccache -s
|
||||
|
||||
|
||||
check-web-wasm: &test
|
||||
stage: test
|
||||
<<: *test-refs
|
||||
<<: *docker-env
|
||||
<<: *compiler_info
|
||||
script:
|
||||
# WASM support is in progress. As more and more crates support WASM, we
|
||||
# should add entries here. See https://github.com/paritytech/polkadot/issues/625
|
||||
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path availability-store/Cargo.toml
|
||||
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path executor/Cargo.toml
|
||||
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path erasure-coding/Cargo.toml
|
||||
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path parachain/Cargo.toml
|
||||
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path primitives/Cargo.toml
|
||||
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path rpc/Cargo.toml
|
||||
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path runtime/Cargo.toml
|
||||
- time cargo build --locked --target=wasm32-unknown-unknown --manifest-path statement-table/Cargo.toml
|
||||
- sccache -s
|
||||
|
||||
|
||||
build-linux-release: &build
|
||||
@@ -209,7 +226,7 @@ publish-docker-release:
|
||||
- docker build
|
||||
--build-arg VCS_REF="${CI_COMMIT_SHA}"
|
||||
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
|
||||
--tag $CONTAINER_IMAGE:$VERSION
|
||||
--tag $CONTAINER_IMAGE:$VERSION
|
||||
--tag $CONTAINER_IMAGE:$EXTRATAG .
|
||||
- docker push $CONTAINER_IMAGE:$VERSION
|
||||
- docker push $CONTAINER_IMAGE:$EXTRATAG
|
||||
|
||||
Reference in New Issue
Block a user