Skip to content

Commit 640de80

Browse files
committed
Free disk space in container
Debug builds of clang require a lot of free disk space.
1 parent 2bc1ea0 commit 640de80

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/toolchain_build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ jobs:
7575
echo Creating artifact staging directory...
7676
mkdir "$ARTIFACT_STAGING_DIR"
7777
78+
echo ::group::Log free disk space
79+
df -h || true
80+
du -h / --max-depth 3 || true
81+
du -h /__w --max-depth 3 || true
82+
echo ::endgroup::
83+
7884
# Git warns about this repo having dubious ownership - ignore.
7985
git config --global --add safe.directory "$(pwd)"
8086
@@ -84,6 +90,9 @@ jobs:
8490
"${{ matrix.target }}" \
8591
"${{ matrix.output_dir }}"
8692
93+
- name: Log free disk space
94+
run: df -h
95+
8796
- name: Build Clang toolchain
8897
run: |
8998
./build-clang-with-args.sh \

0 commit comments

Comments
 (0)