Skip to content

Commit

Permalink
Free more space in the GHA runner
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA committed Nov 7, 2022
1 parent 67acee1 commit ed2eecc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .run-gha-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
set -eux
export OPAMYES=true

# Free some space
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

sudo chmod a+x /usr/local/bin/runc

sudo sh -c "cat > /usr/local/bin/uname" << EOF
Expand Down Expand Up @@ -86,4 +93,3 @@ case "$1" in
printf "Usage: .run-gha-tests.sh [btrfs|rsync|zfs]" >&2
exit 1
esac

0 comments on commit ed2eecc

Please sign in to comment.