mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[macOS CI] Delete big SDKs to avoid exhausting disk space
Lately we've seen frequent failures on macOS GitHub Action runs due to disk space issues. Poking with du(1) revealed that /Library/Developer/CoreSimulator/Caches/dyld was growing to be multiple gigbytes. Deleting unused stuff is a known workaround to space issues. https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
This commit is contained in:
parent
89bbb9a888
commit
eef2121cf3
Notes:
git
2024-08-30 20:36:48 +00:00
8
.github/workflows/macos.yml
vendored
8
.github/workflows/macos.yml
vendored
@ -80,6 +80,14 @@ jobs:
|
||||
sudo sysctl -w kern.coredump=1
|
||||
sudo chmod -R +rwx /cores/
|
||||
|
||||
- name: Delete unused SDKs
|
||||
# To free up disk space to not run out during the run
|
||||
run: |
|
||||
sudo rm -rf ~/.dotnet
|
||||
sudo rm -rf /Library/Android
|
||||
sudo rm -rf /Library/Developer/CoreSimulator
|
||||
continue-on-error: true
|
||||
|
||||
- name: Run configure
|
||||
run: ../src/configure -C --disable-install-doc ${ruby_configure_args}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user