-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hopefully we can avoid the workflow diverging too too much!
- Loading branch information
1 parent
c39f34e
commit 608bfe5
Showing
11 changed files
with
626 additions
and
617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update -y && apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
clang \ | ||
cmake \ | ||
curl \ | ||
git \ | ||
libc6-dev \ | ||
make \ | ||
python \ | ||
xz-utils | ||
|
||
# Install `wasm2wat` | ||
RUN git clone --recursive https://github.com/WebAssembly/wabt | ||
RUN make -C wabt -j$(nproc) | ||
ENV PATH=$PATH:/wabt/bin | ||
|
||
# Install `wasm-bindgen-test-runner` | ||
RUN curl -L https://github.com/rustwasm/wasm-bindgen/releases/download/0.2.15/wasm-bindgen-0.2.15-x86_64-unknown-linux-musl.tar.gz \ | ||
| tar xzf - | ||
ENV PATH=$PATH:/wasm-bindgen-0.2.15-x86_64-unknown-linux-musl | ||
ENV CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=wasm-bindgen-test-runner | ||
|
||
# Install `node` | ||
RUN curl https://nodejs.org/dist/v10.8.0/node-v10.8.0-linux-x64.tar.xz | tar xJf - | ||
ENV PATH=$PATH:/node-v10.8.0-linux-x64/bin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.