build: free up more space on the mac VM (#24549)
This commit is contained in:
parent
ce87a7e69f
commit
36900df7d9
1 changed files with 10 additions and 7 deletions
|
@ -313,12 +313,15 @@ step-get-more-space-on-mac: &step-get-more-space-on-mac
|
||||||
command: |
|
command: |
|
||||||
if [ "`uname`" == "Darwin" ]; then
|
if [ "`uname`" == "Darwin" ]; then
|
||||||
sudo rm -rf /Library/Developer/CoreSimulator
|
sudo rm -rf /Library/Developer/CoreSimulator
|
||||||
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform
|
sudo rm -rf $(xcode-select -p)/Platforms/AppleTVOS.platform
|
||||||
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
|
sudo rm -rf $(xcode-select -p)/Platforms/iPhoneOS.platform
|
||||||
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform
|
sudo rm -rf $(xcode-select -p)/Platforms/WatchOS.platform
|
||||||
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform
|
sudo rm -rf $(xcode-select -p)/Platforms/WatchSimulator.platform
|
||||||
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform
|
sudo rm -rf $(xcode-select -p)/Platforms/AppleTVSimulator.platform
|
||||||
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
|
sudo rm -rf $(xcode-select -p)/Platforms/iPhoneSimulator.platform
|
||||||
|
sudo rm -rf ~/.rubies
|
||||||
|
sudo rm -rf ~/Library/Caches/Homebrew
|
||||||
|
sudo rm -rf /usr/local/Homebrew
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# On macOS delete all .git directories under src/ expect for
|
# On macOS delete all .git directories under src/ expect for
|
||||||
|
@ -1043,8 +1046,8 @@ steps-electron-ts-compile-for-doc-change: &steps-electron-ts-compile-for-doc-cha
|
||||||
- *step-depot-tools-get
|
- *step-depot-tools-get
|
||||||
- *step-depot-tools-add-to-path
|
- *step-depot-tools-add-to-path
|
||||||
- *step-restore-brew-cache
|
- *step-restore-brew-cache
|
||||||
- *step-get-more-space-on-mac
|
|
||||||
- *step-install-gnutar-on-mac
|
- *step-install-gnutar-on-mac
|
||||||
|
- *step-get-more-space-on-mac
|
||||||
- *step-generate-deps-hash
|
- *step-generate-deps-hash
|
||||||
- *step-touch-sync-done
|
- *step-touch-sync-done
|
||||||
- maybe-restore-portaled-src-cache
|
- maybe-restore-portaled-src-cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue