Browse Source

Free disk space in LLVM CI.

pull/1949/head
tritao 9 months ago
parent
commit
d9be8c5f48
  1. 27
      .github/workflows/llvm.yml

27
.github/workflows/llvm.yml

@ -25,6 +25,33 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: lukka/get-cmake@latest - uses: lukka/get-cmake@latest
- run: df -h
- name: Free Disk Space
if: startsWith(matrix.os, 'ubuntu')
uses: endersonmenezes/free-disk-space@v2
with:
remove_android: true
remove_dotnet: true
remove_haskell: true
remove_tool_cache: true
remove_swap: true
remove_packages: "azure-cli google-cloud-cli microsoft-edge-stable google-chrome-stable firefox postgresql* temurin-* *llvm* mysql* dotnet-sdk-*"
remove_packages_one_command: true
remove_folders: "/usr/share/swift /usr/share/miniconda /usr/share/az* /usr/local/lib/node_modules /usr/local/share/chromium /usr/local/share/powershell /usr/local/julia /usr/local/aws-cli /usr/local/aws-sam-cli /usr/share/gradle"
testing: false
- name: Free Disk Space
if: startsWith(matrix.os, 'macos')
run: |
sudo rm -rf /Library/Frameworks/Mono.framework
sudo rm -rf /Library/Frameworks/Xamarin.iOS.framework
sudo rm -rf /Library/Frameworks/Xamarin.Android.framework
sudo rm -rf /Users/runner/Library/Android
sudo rm -rf /usr/local/share/powershell
sudo find /Applications -type d -name "Xcode_*.app" ! -name "Xcode_$XCODE_VERSION.app" -prune -exec rm -rf "{}" \;
- run: df -h
- name: Install cross compilers - name: Install cross compilers
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.platform, 'arm64') if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.platform, 'arm64')
run: sudo apt install -y g++-aarch64-linux-gnu gcc-aarch64-linux-gnu run: sudo apt install -y g++-aarch64-linux-gnu gcc-aarch64-linux-gnu

Loading…
Cancel
Save