Re-enable CI for asmjs-unknown-emscripten

This commit is contained in:
Yuki Okushi 2021-02-10 13:08:28 +09:00
parent 59c4f0c71e
commit 29feed133c
2 changed files with 12 additions and 5 deletions

View File

@ -109,9 +109,7 @@ jobs:
arm-linux-androideabi,
arm-unknown-linux-gnueabihf,
arm-unknown-linux-musleabihf,
# FIXME: Disabled because currently broken, see:
# https://github.com/rust-lang/libc/issues/1591
# asmjs-unknown-emscripten,
asmjs-unknown-emscripten,
i686-linux-android,
i686-unknown-linux-musl,
mips-unknown-linux-gnu,

View File

@ -1,7 +1,12 @@
FROM ubuntu:20.04
RUN apt-get update && \
apt-get install -y --no-install-recommends \
# This is a workaround to avoid the interaction with tzdata.
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=America/New_York
RUN apt-get update
RUN apt-get install -y --no-install-recommends tzdata
RUN apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gcc \
@ -18,5 +23,9 @@ RUN bash /emscripten.sh
ENV PATH=$PATH:/rust/bin \
CARGO_TARGET_ASMJS_UNKNOWN_EMSCRIPTEN_RUNNER=node
# `-g4` is used by default which causes a linking error.
# Using `-g3` not to generate a source map.
ENV EMCC_CFLAGS=-g3
COPY emscripten-entry.sh /
ENTRYPOINT ["/emscripten-entry.sh"]