Skip to content

Commit b2d1165

Browse files
committed
CI: Temporarily disable sccache usage
It is failing to install / setup on CI.
1 parent a0582cd commit b2d1165

File tree

1 file changed

+40
-20
lines changed

1 file changed

+40
-20
lines changed

azure-pipelines.yml

Lines changed: 40 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
toolchain: nightly
1515
- template: ci/azure-install-node.yml
1616
- template: ci/azure-install-geckodriver.yml
17-
- template: ci/azure-install-sccache.yml
17+
# Temporarily disable sccache because it is failing on CI.
18+
# - template: ci/azure-install-sccache.yml
1819
- script: cargo test
1920
displayName: "Builds on native"
2021
- script: cargo test --target wasm32-unknown-unknown
@@ -58,7 +59,8 @@ jobs:
5859
toolchain: nightly
5960
- template: ci/azure-install-node.yml
6061
- template: ci/azure-install-geckodriver.yml
61-
- template: ci/azure-install-sccache.yml
62+
# Temporarily disable sccache because it is failing on CI.
63+
# - template: ci/azure-install-sccache.yml
6264
- script: cargo test --target wasm32-unknown-unknown
6365
displayName: "wasm-bindgen test suite"
6466
env:
@@ -80,14 +82,16 @@ jobs:
8082
parameters:
8183
toolchain: nightly
8284
- template: ci/azure-install-node.yml
83-
- template: ci/azure-install-sccache.yml
85+
# Temporarily disable sccache because it is failing on CI.
86+
# - template: ci/azure-install-sccache.yml
8487
- script: cargo test --target wasm32-unknown-unknown --features nightly --test wasm
8588

8689
- job: test_cli
8790
displayName: "Run wasm-bindgen-cli crate tests"
8891
steps:
8992
- template: ci/azure-install-rust.yml
90-
- template: ci/azure-install-sccache.yml
93+
# Temporarily disable sccache because it is failing on CI.
94+
# - template: ci/azure-install-sccache.yml
9195
- script: rustup target add wasm32-unknown-unknown
9296
displayName: "install wasm target"
9397
- script: cargo test -p wasm-bindgen-cli-support
@@ -104,7 +108,8 @@ jobs:
104108
toolchain: nightly
105109
- template: ci/azure-install-node.yml
106110
- template: ci/azure-install-geckodriver.yml
107-
- template: ci/azure-install-sccache.yml
111+
# Temporarily disable sccache because it is failing on CI.
112+
# - template: ci/azure-install-sccache.yml
108113
- script: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown
109114
- script: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Node
110115
- script: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Element
@@ -120,7 +125,8 @@ jobs:
120125
toolchain: nightly
121126
- template: ci/azure-install-node.yml
122127
- template: ci/azure-install-geckodriver.yml
123-
- template: ci/azure-install-sccache.yml
128+
# Temporarily disable sccache because it is failing on CI.
129+
# - template: ci/azure-install-sccache.yml
124130
- script: cargo test -p js-sys --target wasm32-unknown-unknown
125131

126132
- job: test_webidl
@@ -131,7 +137,8 @@ jobs:
131137
parameters:
132138
toolchain: nightly
133139
- template: ci/azure-install-node.yml
134-
#- template: ci/azure-install-sccache.yml
140+
# Temporarily disable sccache because it is failing on CI.
141+
# - template: ci/azure-install-sccache.yml
135142
- script: cargo test -p wasm-bindgen-webidl
136143
- script: cargo test -p webidl-tests --target wasm32-unknown-unknown
137144
env:
@@ -145,19 +152,23 @@ jobs:
145152
parameters:
146153
toolchain: nightly
147154
- template: ci/azure-install-node.yml
148-
- template: ci/azure-install-sccache.yml
155+
# Temporarily disable sccache because it is failing on CI.
156+
# - template: ci/azure-install-sccache.yml
149157
- script: cargo test -p wasm-bindgen-macro
150158

151159
- job: test_wasm_interpreter
152160
displayName: "Run wasm-bindgen-wasm-interpreter tests"
153161
steps:
154162
- template: ci/azure-install-rust.yml
155-
- template: ci/azure-install-sccache.yml
163+
# Temporarily disable sccache because it is failing on CI.
164+
# - template: ci/azure-install-sccache.yml
156165
- script: |
157166
git clone https://github.com/WebAssembly/wabt
158167
mkdir -p wabt/build
159168
cd wabt/build
160-
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=off -DCMAKE_CXX_COMPILER_LAUNCHER=$RUSTC_WRAPPER
169+
# Temporarily disable sccache because it is failing on CI.
170+
# cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=off -DCMAKE_CXX_COMPILER_LAUNCHER=$RUSTC_WRAPPER
171+
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=off
161172
cmake --build . -- -j$(nproc)
162173
echo "##vso[task.prependpath]$PWD"
163174
- script: cargo test -p wasm-bindgen-wasm-interpreter
@@ -166,7 +177,8 @@ jobs:
166177
displayName: "Test TypeScript output of wasm-bindgen"
167178
steps:
168179
- template: ci/azure-install-rust.yml
169-
- template: ci/azure-install-sccache.yml
180+
# Temporarily disable sccache because it is failing on CI.
181+
# - template: ci/azure-install-sccache.yml
170182
- template: ci/azure-install-node.yml
171183
- script: cd crates/typescript-tests && ./run.sh
172184

@@ -177,7 +189,8 @@ jobs:
177189
# TODO: switch this back to `stable` when async/await is stable
178190
parameters:
179191
toolchain: nightly
180-
- template: ci/azure-install-sccache.yml
192+
# Temporarily disable sccache because it is failing on CI.
193+
# - template: ci/azure-install-sccache.yml
181194
- template: ci/azure-install-wasm-pack.yml
182195
- script: mv _package.json package.json && npm install && rm package.json
183196
displayName: "run npm install"
@@ -199,7 +212,8 @@ jobs:
199212
- template: ci/azure-install-rust.yml
200213
parameters:
201214
toolchain: nightly-2019-08-27
202-
- template: ci/azure-install-sccache.yml
215+
# Temporarily disable sccache because it is failing on CI.
216+
# - template: ci/azure-install-sccache.yml
203217
- script: rustup component add rust-src
204218
displayName: "install rust-src"
205219
- script: cargo install xargo
@@ -222,7 +236,8 @@ jobs:
222236
# TODO: switch this back to `stable` when async/await is stable
223237
parameters:
224238
toolchain: nightly
225-
- template: ci/azure-install-sccache.yml
239+
# Temporarily disable sccache because it is failing on CI.
240+
# - template: ci/azure-install-sccache.yml
226241
- template: ci/azure-install-wasm-pack.yml
227242
- script: wasm-pack build --target web benchmarks
228243
displayName: "build benchmarks"
@@ -237,7 +252,8 @@ jobs:
237252
displayName: "Dist Linux binary"
238253
steps:
239254
- template: ci/azure-install-rust.yml
240-
- template: ci/azure-install-sccache.yml
255+
# Temporarily disable sccache because it is failing on CI.
256+
# - template: ci/azure-install-sccache.yml
241257
- script: rustup target add x86_64-unknown-linux-musl
242258
- script: |
243259
sudo apt update -y
@@ -260,7 +276,8 @@ jobs:
260276
vmImage: macOS-10.13
261277
steps:
262278
- template: ci/azure-install-rust.yml
263-
- template: ci/azure-install-sccache.yml
279+
# Temporarily disable sccache because it is failing on CI.
280+
# - template: ci/azure-install-sccache.yml
264281
- script: cargo build --manifest-path crates/cli/Cargo.toml --release
265282
env:
266283
MACOSX_DEPLOYMENT_TARGET: 10.7
@@ -274,15 +291,17 @@ jobs:
274291
vmImage: vs2017-win2016
275292
steps:
276293
- template: ci/azure-install-rust.yml
277-
- template: ci/azure-install-sccache.yml
294+
# Temporarily disable sccache because it is failing on CI.
295+
# - template: ci/azure-install-sccache.yml
278296
- script: cargo build --manifest-path crates/cli/Cargo.toml --release
279297
env:
280298
RUSTFLAGS: -Ctarget-feature=+crt-static
281299
- template: ci/azure-create-tarball.yml
282300
parameters:
283301
name: dist_windows
284-
- script: "%RUSTC_WRAPPER% -s"
285-
- script: cat sccache.log
302+
# Temporarily disable sccache because it is failing on CI.
303+
# - script: "%RUSTC_WRAPPER% -s"
304+
# - script: cat sccache.log
286305

287306
- job: doc_book
288307
displayName: "Doc - build the book"
@@ -308,7 +327,8 @@ jobs:
308327
# Install rustfmt so we can format the web-sys bindings
309328
- script: rustup component add rustfmt
310329
displayName: "Install rustfmt"
311-
- template: ci/azure-install-sccache.yml
330+
# Temporarily disable sccache because it is failing on CI.
331+
# - template: ci/azure-install-sccache.yml
312332
- script: cargo doc --no-deps --features 'nightly serde-serialize'
313333
displayName: "Document wasm-bindgen"
314334
- script: cargo doc --no-deps --manifest-path crates/js-sys/Cargo.toml

0 commit comments

Comments
 (0)