Skip to content

Commit

Permalink
Freeing CI build disk space for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Jun 18, 2024
1 parent c126b1b commit 0459153
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0459153

Please sign in to comment.