CI: Free disk space on Linux runners
Removing the Android toolchain saves 14 GiB, which gives us more room
for growth and to avoid running into out-of-space errors in the Linux
sanitizers + debug symbols builds.
Related to #79919, though the caches were just one part of the problem,
the real issue is that our Linux sanitizers builds take 12 GiB, and
adding godot-cpp on top with 2 GiB leaves only a few GiB left for the
cache itself.
(cherry picked from commit 611123f7fd
)
This commit is contained in:
parent
5eca175816
commit
b08e61640f
1 changed files with 6 additions and 0 deletions
6
.github/workflows/linux_builds.yml
vendored
6
.github/workflows/linux_builds.yml
vendored
|
@ -64,6 +64,12 @@ jobs:
|
||||||
libdbus-1-dev libudev-dev libxi-dev libxrandr-dev yasm xvfb wget unzip \
|
libdbus-1-dev libudev-dev libxi-dev libxrandr-dev yasm xvfb wget unzip \
|
||||||
libspeechd-dev speech-dispatcher
|
libspeechd-dev speech-dispatcher
|
||||||
|
|
||||||
|
- name: Free disk space on runner
|
||||||
|
run: |
|
||||||
|
echo "Disk usage before:" && df -h
|
||||||
|
sudo rm -rf /usr/local/lib/android
|
||||||
|
echo "Disk usage after:" && df -h
|
||||||
|
|
||||||
- name: Setup Godot build cache
|
- name: Setup Godot build cache
|
||||||
uses: ./.github/actions/godot-cache
|
uses: ./.github/actions/godot-cache
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue