Skip to content

Commit 15e9c54

Browse files
authored
Update CI configuration (#2022)
* Move builders that can back to stable Rust * Remove comments about sccache since it seems unlikely we'll bring it back soon.
1 parent bab83a7 commit 15e9c54

File tree

1 file changed

+0
-59
lines changed

1 file changed

+0
-59
lines changed

azure-pipelines.yml

-59
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ jobs:
99
displayName: "Run wasm-bindgen crate tests (unix)"
1010
steps:
1111
- template: ci/azure-install-rust.yml
12-
# TODO: switch this back to `stable` when async/await is stable
13-
parameters:
14-
toolchain: beta
1512
- template: ci/azure-install-node.yml
1613
- template: ci/azure-install-geckodriver.yml
17-
# Temporarily disable sccache because it is failing on CI.
18-
# - template: ci/azure-install-sccache.yml
1914
- script: cargo test
2015
displayName: "Builds on native"
2116
- script: cargo test --target wasm32-unknown-unknown
@@ -52,13 +47,8 @@ jobs:
5247
vmImage: vs2017-win2016
5348
steps:
5449
- template: ci/azure-install-rust.yml
55-
# TODO: switch this back to `stable` when async/await is stable
56-
parameters:
57-
toolchain: beta
5850
- template: ci/azure-install-node.yml
5951
- template: ci/azure-install-geckodriver.yml
60-
# Temporarily disable sccache because it is failing on CI.
61-
# - template: ci/azure-install-sccache.yml
6252
- script: cargo test --target wasm32-unknown-unknown
6353
displayName: "wasm-bindgen test suite"
6454
env:
@@ -80,16 +70,12 @@ jobs:
8070
parameters:
8171
toolchain: nightly
8272
- template: ci/azure-install-node.yml
83-
# Temporarily disable sccache because it is failing on CI.
84-
# - template: ci/azure-install-sccache.yml
8573
- script: cargo test --target wasm32-unknown-unknown --features nightly --test wasm
8674

8775
- job: test_cli
8876
displayName: "Run wasm-bindgen-cli crate tests"
8977
steps:
9078
- template: ci/azure-install-rust.yml
91-
# Temporarily disable sccache because it is failing on CI.
92-
# - template: ci/azure-install-sccache.yml
9379
- script: rustup target add wasm32-unknown-unknown
9480
displayName: "install wasm target"
9581
- task: NodeTool@0
@@ -110,13 +96,8 @@ jobs:
11096
displayName: "Run web-sys crate tests"
11197
steps:
11298
- template: ci/azure-install-rust.yml
113-
# TODO: switch this back to `stable` when async/await is stable
114-
parameters:
115-
toolchain: beta
11699
- template: ci/azure-install-node.yml
117100
- template: ci/azure-install-geckodriver.yml
118-
# Temporarily disable sccache because it is failing on CI.
119-
# - template: ci/azure-install-sccache.yml
120101
- script: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown
121102
- script: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Node
122103
- script: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Element
@@ -131,25 +112,15 @@ jobs:
131112
displayName: "Run js-sys crate tests"
132113
steps:
133114
- template: ci/azure-install-rust.yml
134-
# TODO: switch this back to `stable` when async/await is stable
135-
parameters:
136-
toolchain: beta
137115
- template: ci/azure-install-node.yml
138116
- template: ci/azure-install-geckodriver.yml
139-
# Temporarily disable sccache because it is failing on CI.
140-
# - template: ci/azure-install-sccache.yml
141117
- script: cargo test -p js-sys --target wasm32-unknown-unknown
142118

143119
- job: test_webidl
144120
displayName: "Run wasm-bindgen-webidl crate tests"
145121
steps:
146122
- template: ci/azure-install-rust.yml
147-
# TODO: switch this back to `stable` when async/await is stable
148-
parameters:
149-
toolchain: beta
150123
- template: ci/azure-install-node.yml
151-
# Temporarily disable sccache because it is failing on CI.
152-
# - template: ci/azure-install-sccache.yml
153124
- script: cargo test -p wasm-bindgen-webidl
154125
- script: cargo test -p webidl-tests --target wasm32-unknown-unknown
155126
env:
@@ -163,32 +134,20 @@ jobs:
163134
displayName: "Run UI tests"
164135
steps:
165136
- template: ci/azure-install-rust.yml
166-
# TODO: switch this back to `stable` when async/await is stable
167-
parameters:
168-
toolchain: beta
169137
- template: ci/azure-install-node.yml
170-
# Temporarily disable sccache because it is failing on CI.
171-
# - template: ci/azure-install-sccache.yml
172138
- script: cargo test -p wasm-bindgen-macro
173139

174140
- job: test_typescript_output
175141
displayName: "Test TypeScript output of wasm-bindgen"
176142
steps:
177143
- template: ci/azure-install-rust.yml
178-
# Temporarily disable sccache because it is failing on CI.
179-
# - template: ci/azure-install-sccache.yml
180144
- template: ci/azure-install-node.yml
181145
- script: cd crates/typescript-tests && ./run.sh
182146

183147
- job: build_examples
184148
displayName: "Build almost all examples"
185149
steps:
186150
- 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
192151
- template: ci/azure-install-wasm-pack.yml
193152
- script: mv _package.json package.json && npm install && rm package.json
194153
displayName: "run npm install"
@@ -210,8 +169,6 @@ jobs:
210169
- template: ci/azure-install-rust.yml
211170
parameters:
212171
toolchain: nightly-2020-01-06
213-
# Temporarily disable sccache because it is failing on CI.
214-
# - template: ci/azure-install-sccache.yml
215172
- script: rustup component add rust-src
216173
displayName: "install rust-src"
217174
- script: |
@@ -229,11 +186,6 @@ jobs:
229186
displayName: "Build benchmarks"
230187
steps:
231188
- 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
237189
- template: ci/azure-install-wasm-pack.yml
238190
- script: wasm-pack build --target web benchmarks
239191
displayName: "build benchmarks"
@@ -248,8 +200,6 @@ jobs:
248200
displayName: "Dist Linux binary"
249201
steps:
250202
- template: ci/azure-install-rust.yml
251-
# Temporarily disable sccache because it is failing on CI.
252-
# - template: ci/azure-install-sccache.yml
253203
- script: rustup target add x86_64-unknown-linux-musl
254204
- script: |
255205
sudo apt update -y
@@ -272,8 +222,6 @@ jobs:
272222
vmImage: macOS-10.13
273223
steps:
274224
- template: ci/azure-install-rust.yml
275-
# Temporarily disable sccache because it is failing on CI.
276-
# - template: ci/azure-install-sccache.yml
277225
- script: cargo build --manifest-path crates/cli/Cargo.toml --release
278226
env:
279227
MACOSX_DEPLOYMENT_TARGET: 10.7
@@ -287,17 +235,12 @@ jobs:
287235
vmImage: vs2017-win2016
288236
steps:
289237
- template: ci/azure-install-rust.yml
290-
# Temporarily disable sccache because it is failing on CI.
291-
# - template: ci/azure-install-sccache.yml
292238
- script: cargo build --manifest-path crates/cli/Cargo.toml --release
293239
env:
294240
RUSTFLAGS: -Ctarget-feature=+crt-static
295241
- template: ci/azure-create-tarball.yml
296242
parameters:
297243
name: dist_windows
298-
# Temporarily disable sccache because it is failing on CI.
299-
# - script: "%RUSTC_WRAPPER% -s"
300-
# - script: cat sccache.log
301244

302245
- job: doc_book
303246
displayName: "Doc - build the book"
@@ -319,8 +262,6 @@ jobs:
319262
- template: ci/azure-install-rust.yml
320263
parameters:
321264
toolchain: nightly
322-
# Temporarily disable sccache because it is failing on CI.
323-
# - template: ci/azure-install-sccache.yml
324265
- script: cargo doc --no-deps --features 'nightly serde-serialize'
325266
displayName: "Document wasm-bindgen"
326267
- script: cargo doc --no-deps --manifest-path crates/js-sys/Cargo.toml

0 commit comments

Comments
 (0)