3 RUN apt-get update && apt-get install -y --no-install-recommends \
20 RUN curl -sL https://nodejs.org/dist/v14.4.0/node-v14.4.0-linux-x64.tar.xz | tar -xJ
21 ENV PATH="/node-v14.4.0-linux-x64/bin:${PATH}"
23 # Pin its version to prevent unrelated CI failures due to future es-check versions.
24 RUN npm install es-check@5.2.3 -g
26 COPY scripts/sccache.sh /scripts/
27 RUN sh /scripts/sccache.sh
29 COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
31 ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
32 ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
33 python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu --all-targets && \
34 python3 ../x.py build --stage 0 src/tools/build-manifest && \
35 python3 ../x.py test --stage 0 src/tools/compiletest && \
36 python3 ../x.py test --stage 2 src/tools/tidy && \
37 python3 ../x.py doc --stage 0 library/std && \
38 /scripts/validate-toolstate.sh && \
39 # Runs checks to ensure that there are no ES5 issues in our JS code.
40 es-check es5 ../src/librustdoc/html/static/*.js