9
9
displayName : " Run wasm-bindgen crate tests (unix)"
10
10
steps :
11
11
- template : ci/azure-install-rust.yml
12
- # TODO: switch this back to `stable` when async/await is stable
13
- parameters :
14
- toolchain : beta
15
12
- template : ci/azure-install-node.yml
16
13
- template : ci/azure-install-geckodriver.yml
17
- # Temporarily disable sccache because it is failing on CI.
18
- # - template: ci/azure-install-sccache.yml
19
14
- script : cargo test
20
15
displayName : " Builds on native"
21
16
- script : cargo test --target wasm32-unknown-unknown
52
47
vmImage : vs2017-win2016
53
48
steps :
54
49
- template : ci/azure-install-rust.yml
55
- # TODO: switch this back to `stable` when async/await is stable
56
- parameters :
57
- toolchain : beta
58
50
- template : ci/azure-install-node.yml
59
51
- template : ci/azure-install-geckodriver.yml
60
- # Temporarily disable sccache because it is failing on CI.
61
- # - template: ci/azure-install-sccache.yml
62
52
- script : cargo test --target wasm32-unknown-unknown
63
53
displayName : " wasm-bindgen test suite"
64
54
env :
@@ -80,16 +70,12 @@ jobs:
80
70
parameters :
81
71
toolchain : nightly
82
72
- template : ci/azure-install-node.yml
83
- # Temporarily disable sccache because it is failing on CI.
84
- # - template: ci/azure-install-sccache.yml
85
73
- script : cargo test --target wasm32-unknown-unknown --features nightly --test wasm
86
74
87
75
- job : test_cli
88
76
displayName : " Run wasm-bindgen-cli crate tests"
89
77
steps :
90
78
- template : ci/azure-install-rust.yml
91
- # Temporarily disable sccache because it is failing on CI.
92
- # - template: ci/azure-install-sccache.yml
93
79
- script : rustup target add wasm32-unknown-unknown
94
80
displayName : " install wasm target"
95
81
- task : NodeTool@0
@@ -110,13 +96,8 @@ jobs:
110
96
displayName : " Run web-sys crate tests"
111
97
steps :
112
98
- template : ci/azure-install-rust.yml
113
- # TODO: switch this back to `stable` when async/await is stable
114
- parameters :
115
- toolchain : beta
116
99
- template : ci/azure-install-node.yml
117
100
- template : ci/azure-install-geckodriver.yml
118
- # Temporarily disable sccache because it is failing on CI.
119
- # - template: ci/azure-install-sccache.yml
120
101
- script : cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown
121
102
- script : cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Node
122
103
- script : cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Element
@@ -131,25 +112,15 @@ jobs:
131
112
displayName : " Run js-sys crate tests"
132
113
steps :
133
114
- template : ci/azure-install-rust.yml
134
- # TODO: switch this back to `stable` when async/await is stable
135
- parameters :
136
- toolchain : beta
137
115
- template : ci/azure-install-node.yml
138
116
- template : ci/azure-install-geckodriver.yml
139
- # Temporarily disable sccache because it is failing on CI.
140
- # - template: ci/azure-install-sccache.yml
141
117
- script : cargo test -p js-sys --target wasm32-unknown-unknown
142
118
143
119
- job : test_webidl
144
120
displayName : " Run wasm-bindgen-webidl crate tests"
145
121
steps :
146
122
- template : ci/azure-install-rust.yml
147
- # TODO: switch this back to `stable` when async/await is stable
148
- parameters :
149
- toolchain : beta
150
123
- template : ci/azure-install-node.yml
151
- # Temporarily disable sccache because it is failing on CI.
152
- # - template: ci/azure-install-sccache.yml
153
124
- script : cargo test -p wasm-bindgen-webidl
154
125
- script : cargo test -p webidl-tests --target wasm32-unknown-unknown
155
126
env :
@@ -163,32 +134,20 @@ jobs:
163
134
displayName : " Run UI tests"
164
135
steps :
165
136
- template : ci/azure-install-rust.yml
166
- # TODO: switch this back to `stable` when async/await is stable
167
- parameters :
168
- toolchain : beta
169
137
- template : ci/azure-install-node.yml
170
- # Temporarily disable sccache because it is failing on CI.
171
- # - template: ci/azure-install-sccache.yml
172
138
- script : cargo test -p wasm-bindgen-macro
173
139
174
140
- job : test_typescript_output
175
141
displayName : " Test TypeScript output of wasm-bindgen"
176
142
steps :
177
143
- template : ci/azure-install-rust.yml
178
- # Temporarily disable sccache because it is failing on CI.
179
- # - template: ci/azure-install-sccache.yml
180
144
- template : ci/azure-install-node.yml
181
145
- script : cd crates/typescript-tests && ./run.sh
182
146
183
147
- job : build_examples
184
148
displayName : " Build almost all examples"
185
149
steps :
186
150
- template : ci/azure-install-rust.yml
187
- # TODO: switch this back to `stable` when async/await is stable
188
- parameters :
189
- toolchain : beta
190
- # Temporarily disable sccache because it is failing on CI.
191
- # - template: ci/azure-install-sccache.yml
192
151
- template : ci/azure-install-wasm-pack.yml
193
152
- script : mv _package.json package.json && npm install && rm package.json
194
153
displayName : " run npm install"
@@ -210,8 +169,6 @@ jobs:
210
169
- template : ci/azure-install-rust.yml
211
170
parameters :
212
171
toolchain : nightly-2020-01-06
213
- # Temporarily disable sccache because it is failing on CI.
214
- # - template: ci/azure-install-sccache.yml
215
172
- script : rustup component add rust-src
216
173
displayName : " install rust-src"
217
174
- script : |
@@ -229,11 +186,6 @@ jobs:
229
186
displayName : " Build benchmarks"
230
187
steps :
231
188
- template : ci/azure-install-rust.yml
232
- # TODO: switch this back to `stable` when async/await is stable
233
- parameters :
234
- toolchain : beta
235
- # Temporarily disable sccache because it is failing on CI.
236
- # - template: ci/azure-install-sccache.yml
237
189
- template : ci/azure-install-wasm-pack.yml
238
190
- script : wasm-pack build --target web benchmarks
239
191
displayName : " build benchmarks"
@@ -248,8 +200,6 @@ jobs:
248
200
displayName : " Dist Linux binary"
249
201
steps :
250
202
- template : ci/azure-install-rust.yml
251
- # Temporarily disable sccache because it is failing on CI.
252
- # - template: ci/azure-install-sccache.yml
253
203
- script : rustup target add x86_64-unknown-linux-musl
254
204
- script : |
255
205
sudo apt update -y
@@ -272,8 +222,6 @@ jobs:
272
222
vmImage : macOS-10.13
273
223
steps :
274
224
- template : ci/azure-install-rust.yml
275
- # Temporarily disable sccache because it is failing on CI.
276
- # - template: ci/azure-install-sccache.yml
277
225
- script : cargo build --manifest-path crates/cli/Cargo.toml --release
278
226
env :
279
227
MACOSX_DEPLOYMENT_TARGET : 10.7
@@ -287,17 +235,12 @@ jobs:
287
235
vmImage : vs2017-win2016
288
236
steps :
289
237
- template : ci/azure-install-rust.yml
290
- # Temporarily disable sccache because it is failing on CI.
291
- # - template: ci/azure-install-sccache.yml
292
238
- script : cargo build --manifest-path crates/cli/Cargo.toml --release
293
239
env :
294
240
RUSTFLAGS : -Ctarget-feature=+crt-static
295
241
- template : ci/azure-create-tarball.yml
296
242
parameters :
297
243
name : dist_windows
298
- # Temporarily disable sccache because it is failing on CI.
299
- # - script: "%RUSTC_WRAPPER% -s"
300
- # - script: cat sccache.log
301
244
302
245
- job : doc_book
303
246
displayName : " Doc - build the book"
@@ -319,8 +262,6 @@ jobs:
319
262
- template : ci/azure-install-rust.yml
320
263
parameters :
321
264
toolchain : nightly
322
- # Temporarily disable sccache because it is failing on CI.
323
- # - template: ci/azure-install-sccache.yml
324
265
- script : cargo doc --no-deps --features 'nightly serde-serialize'
325
266
displayName : " Document wasm-bindgen"
326
267
- script : cargo doc --no-deps --manifest-path crates/js-sys/Cargo.toml
0 commit comments