Fix builds (#9852)

* show images for troubleshooting

* more debug and try max space action

* fixes

* oops

* maximize first

* mount build volume for docker use

* moved to shared setup and cleanup

* remove temp branch

* remove rocm for master
This commit is contained in:
Blake Blackshear 2024-02-15 00:16:53 +00:00 committed by GitHub
parent e93e5ed931
commit bad80a64ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,11 +11,22 @@ outputs:
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Remove unnecessary files # Stop docker so we can mount more space at /var/lib/docker
run: | - name: Stop docker
sudo rm -rf /usr/share/dotnet run: sudo systemctl stop docker
sudo rm -rf /usr/local/lib/android shell: bash
sudo rm -rf /opt/ghc # This creates a virtual volume at /var/lib/docker to maximize the size
# As of 2/14/2024, this results in 97G for docker images
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
build-mount-path: '/var/lib/docker'
- name: Start docker
run: sudo systemctl start docker
shell: bash shell: bash
- id: lowercaseRepo - id: lowercaseRepo
uses: ASzc/change-string-case-action@v5 uses: ASzc/change-string-case-action@v5