Skip to content

Commit 158242f

Browse files
authored
Fix wasm CI (#318)
* Update wasm-bindgen on Dockerfile * Update Node.js to the LTS * Upgrade `wasm-bindgen` to 0.2.73 * Remove wasm from allow_failures
1 parent c8046ef commit 158242f

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,6 @@ jobs:
200200
# Is this related to the above? Mysterious test failure
201201
- name: "aarch64-apple-ios + NEON"
202202

203-
# FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/183
204-
- env: TARGET=wasm32-unknown-unknown
205-
206203
install: travis_retry rustup target add $TARGET
207204
before_script: cargo generate-lockfile
208205
script: travis_wait 50 ci/run-docker.sh

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ version = "0.1.2"
3939
optional = true
4040

4141
[target.wasm32-unknown-unknown.dev-dependencies]
42-
wasm-bindgen = "=0.2.52"
43-
wasm-bindgen-test = "=0.3.2"
42+
# Keep in sync with the version on Dockerfile.
43+
wasm-bindgen = "=0.2.73"
44+
wasm-bindgen-test = "=0.3.23"

ci/docker/wasm32-unknown-unknown/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ RUN make -C wabt -j$(nproc)
1717
ENV PATH=$PATH:/wabt/bin
1818

1919
# Install `wasm-bindgen-test-runner`
20-
RUN curl -L https://github.com/rustwasm/wasm-bindgen/releases/download/0.2.19/wasm-bindgen-0.2.19-x86_64-unknown-linux-musl.tar.gz \
20+
RUN curl -L https://github.com/rustwasm/wasm-bindgen/releases/download/0.2.73/wasm-bindgen-0.2.73-x86_64-unknown-linux-musl.tar.gz \
2121
| tar xzf -
22-
ENV PATH=$PATH:/wasm-bindgen-0.2.19-x86_64-unknown-linux-musl
22+
# Keep in sync with the version on Cargo.toml.
23+
ENV PATH=$PATH:/wasm-bindgen-0.2.73-x86_64-unknown-linux-musl
2324
ENV CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=wasm-bindgen-test-runner
2425

2526
# Install `node`
26-
RUN curl https://nodejs.org/dist/v10.8.0/node-v10.8.0-linux-x64.tar.xz | tar xJf -
27-
ENV PATH=$PATH:/node-v10.8.0-linux-x64/bin
27+
RUN curl https://nodejs.org/dist/v14.16.0/node-v14.16.0-linux-x64.tar.xz | tar xJf -
28+
ENV PATH=$PATH:/node-v14.16.0-linux-x64/bin
2829

2930
# We use a shim linker that removes `--strip-debug` when passed to LLD. While
3031
# this typically results in invalid debug information in release mode it doesn't

0 commit comments

Comments
 (0)