Skip to content

Commit bad80a6

Browse files
* 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
1 parent e93e5ed commit bad80a6

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,22 @@ outputs:
1111
runs:
1212
using: "composite"
1313
steps:
14-
- name: Remove unnecessary files
15-
run: |
16-
sudo rm -rf /usr/share/dotnet
17-
sudo rm -rf /usr/local/lib/android
18-
sudo rm -rf /opt/ghc
14+
# Stop docker so we can mount more space at /var/lib/docker
15+
- name: Stop docker
16+
run: sudo systemctl stop docker
17+
shell: bash
18+
# This creates a virtual volume at /var/lib/docker to maximize the size
19+
# As of 2/14/2024, this results in 97G for docker images
20+
- name: Maximize build space
21+
uses: easimon/maximize-build-space@master
22+
with:
23+
remove-dotnet: 'true'
24+
remove-android: 'true'
25+
remove-haskell: 'true'
26+
remove-codeql: 'true'
27+
build-mount-path: '/var/lib/docker'
28+
- name: Start docker
29+
run: sudo systemctl start docker
1930
shell: bash
2031
- id: lowercaseRepo
2132
uses: ASzc/change-string-case-action@v5

0 commit comments

Comments
 (0)