Skip to content

Commit 0aa5535

Browse files
committed
Pre-install browser-ui-test in x86_64-gnu-tools Dockerfile
1 parent 9d642fe commit 0aa5535

File tree

1 file changed

+3
-1
lines changed
  • src/ci/docker/host-x86_64/x86_64-gnu-tools

1 file changed

+3
-1
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ COPY scripts/shared.sh /scripts/
9999
#
100100
# The `browser-ui-test.version` file is also used by bootstrap to emit warnings in case
101101
# the local version of the package is different than the one used by the CI.
102+
103+
RUN bash -c 'npm install -g browser-ui-test@$(head -n 1 /tmp/browser-ui-test.version) --unsafe-perm=true'
104+
102105
ENV SCRIPT /tmp/checktools.sh ../x.py && \
103-
npm install browser-ui-test@$(head -n 1 /tmp/browser-ui-test.version) --unsafe-perm=true && \
104106
python3 ../x.py check compiletest --set build.compiletest-use-stage0-libtest=true && \
105107
python3 ../x.py test tests/rustdoc-gui --stage 2 --test-args "'--jobs 1'"

0 commit comments

Comments
 (0)