Free up CI runner disk space before running UI tests.

This commit is contained in:
Stefan Ceriu
2024-09-09 09:13:11 +03:00
committed by Stefan Ceriu
parent 1991bda2ab
commit 34a5ac0a08
2 changed files with 18 additions and 0 deletions

15
ci_scripts/free_space.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
#
# Taken from
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
#
set -ux
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h