Skip to content

Commit

Permalink
mobile: Remove homebrew caches and unused packages (#34352)
Browse files Browse the repository at this point in the history
This is an attempt to salvage some disk space since the iOS related tests are consistently running out of disk space.

Risk Level: low
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Fredy Wijaya <fredyw@google.com>
  • Loading branch information
fredyw committed May 24, 2024
1 parent c38670b commit 3fab851
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mobile/ci/mac_ci_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ do
is_installed "${DEP}" || install "${DEP}"
done

# This is to save some disk space.
# https://mac.install.guide/homebrew/8
brew autoremove
brew cleanup --prune=all

# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md#xcode
sudo xcode-select --switch /Applications/Xcode_14.1.app

Expand Down

0 comments on commit 3fab851

Please sign in to comment.