@@ -40,7 +40,7 @@ variables:
40
40
.docker-env : &docker-env
41
41
retry :
42
42
max : 2
43
- when :
43
+ when :
44
44
- runner_system_failure
45
45
- unknown_failure
46
46
- api_failure
@@ -131,6 +131,23 @@ test-linux-stable: &test
131
131
- sccache -s
132
132
133
133
134
+ check-web-wasm : &test
135
+ stage : test
136
+ << : *test-refs
137
+ << : *docker-env
138
+ << : *compiler_info
139
+ script :
140
+ # WASM support is in progress. As more and more crates support WASM, we
141
+ # should add entries here. See https://github.com/paritytech/polkadot/issues/625
142
+ - time cargo build --locked --target=wasm32-unknown-unknown --manifest-path availability-store/Cargo.toml
143
+ - time cargo build --locked --target=wasm32-unknown-unknown --manifest-path executor/Cargo.toml
144
+ - time cargo build --locked --target=wasm32-unknown-unknown --manifest-path erasure-coding/Cargo.toml
145
+ - time cargo build --locked --target=wasm32-unknown-unknown --manifest-path parachain/Cargo.toml
146
+ - time cargo build --locked --target=wasm32-unknown-unknown --manifest-path primitives/Cargo.toml
147
+ - time cargo build --locked --target=wasm32-unknown-unknown --manifest-path rpc/Cargo.toml
148
+ - time cargo build --locked --target=wasm32-unknown-unknown --manifest-path runtime/Cargo.toml
149
+ - time cargo build --locked --target=wasm32-unknown-unknown --manifest-path statement-table/Cargo.toml
150
+ - sccache -s
134
151
135
152
136
153
build-linux-release : &build
@@ -209,7 +226,7 @@ publish-docker-release:
209
226
- docker build
210
227
--build-arg VCS_REF="${CI_COMMIT_SHA}"
211
228
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
212
- --tag $CONTAINER_IMAGE:$VERSION
229
+ --tag $CONTAINER_IMAGE:$VERSION
213
230
--tag $CONTAINER_IMAGE:$EXTRATAG .
214
231
- docker push $CONTAINER_IMAGE:$VERSION
215
232
- docker push $CONTAINER_IMAGE:$EXTRATAG
0 commit comments