Skip to content

Commit 9febc4e

Browse files
committed
[DO NOT MERGE] ci: what if we try to reclaim some space in between?
1 parent fc2a7a0 commit 9febc4e

File tree

1 file changed

+5
-0
lines changed
  • src/ci/docker/host-x86_64/x86_64-gnu-debug

1 file changed

+5
-0
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ ENV RUST_CONFIGURE_ARGS \
5050
# - That the tests with `//@ needs-force-clang-based-tests` pass, since they
5151
# don't run by default unless RUSTBUILD_FORCE_CLANG_BASED_TESTS is set.
5252

53+
# HACK(jieyouxu): this first does a gigantic stage 2 full build with full debug
54+
# info, then cleans stage 2 artifacts to reclaim some disk space to make it
55+
# possible to run the stage 2 run-make test suite without running out of disk
56+
# space.
5357
ENV SCRIPT \
5458
python3 ../x.py --stage 2 build && \
59+
python3 ../x.py --stage 2 clean && \
5560
python3 ../x.py --stage 2 test tests/run-make

0 commit comments

Comments
 (0)