File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed
Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ concurrency: docker
1010jobs :
1111 docker :
1212 name : Build Docker image
13- runs-on : macos-15
13+ runs-on : ubuntu-22.04
1414 strategy :
1515 matrix :
1616 include :
2424 use_cuda : " ON"
2525 tag_suffix : " -cuda12.8"
2626 steps :
27- - name : Setup Docker on macOS
28- id : setup-docker
29- uses : douglascamata/setup-docker-macos-action@v1.0.1
27+ - name : Clean up disk space
28+ if : runner.os == 'Linux'
29+ run : |
30+ # Space usage before cleanup
31+ df -h /
32+
33+ # Remove unused tool caches (comment any required ones with #)
34+ sudo rm -rf /usr/lib/jvm
35+ sudo rm -rf /usr/local/.ghcup
36+ sudo rm -rf /usr/local/lib/android
37+ sudo rm -rf /usr/local/share/powershell
38+ sudo rm -rf /usr/share/dotnet
39+ sudo rm -rf /usr/share/swift
40+ sudo rm -rf "$AGENT_TOOLSDIRECTORY"
41+
42+ # Verify gains
43+ df -h /
3044
3145 - name : Extract Docker metadata
3246 id : meta
4155 type=semver,pattern={{major}}.{{minor}}
4256 type=edge
4357
58+ - name : Set up QEMU
59+ uses : docker/setup-qemu-action@v3
60+ with :
61+ platforms : linux/amd64,linux/arm64
62+
4463 - name : Set up Docker Buildx
4564 uses : docker/setup-buildx-action@v3
4665
You can’t perform that action at this time.
0 commit comments