From b08e61640f2bed7c2d7d16e20247001b4c0857c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 1 Aug 2023 14:28:56 +0200 Subject: [PATCH] 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 611123f7fd928a9aca3bff36fa2e4354f6168886) --- .github/workflows/linux_builds.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index 24a6ed2e10d..ee7b0b256c2 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -64,6 +64,12 @@ jobs: libdbus-1-dev libudev-dev libxi-dev libxrandr-dev yasm xvfb wget unzip \ 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 uses: ./.github/actions/godot-cache with: