From 04591530293321d469cd5e635179c0ad0103ca93 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Tue, 18 Jun 2024 19:10:43 +0300 Subject: [PATCH] Freeing CI build disk space for tests --- .github/workflows/rust.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2e6bf2e84ef08..d52dbc506c04d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -376,6 +376,18 @@ jobs: rustup toolchain install ${{ matrix.rust }} rustup default ${{ matrix.rust }} rustup component add rustfmt + - name: Maximize build space (disk space limitations) + run: | + echo "Disk Space before cleanup" + df -h + apt-get clean + + rm -rf /usr/share/dotnet + rm -rf /usr/local/lib/android + rm -rf /opt/ghc + rm -rf /opt/hostedtoolcache/CodeQL + echo "Disk Space after cleanup" + df -h - name: Run tests run: | export ARROW_TEST_DATA=$(pwd)/testing/data