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 7a58f45
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,22 @@ jobs:
rustup toolchain install ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
rustup component add rustfmt
- name: Maximize build space (disk space limitations)
run: |
echo "Before"
df -h
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y '^mongodb-.*'
sudo apt-get remove -y '^mysql-.*'
sudo apt-get autoremove -y
sudo apt-get clean
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
echo "After"
df -h
- name: Run tests
run: |
export ARROW_TEST_DATA=$(pwd)/testing/data
Expand Down

0 comments on commit 7a58f45

Please sign in to comment.