File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 8181 run : |
8282 mkdir -p build/doc
8383 cd build
84+ echo "==> Disk usage before clean"
85+ df -h .
86+ sudo rm -rf /usr/share/dotnet
87+ sudo rm -rf /opt/ghc
88+ sudo rm -rf /usr/local/lib/android
89+ sudo rm -rf /opt/hostedtoolcache
90+ echo "==> Disk usage after clean"
91+ df -h .
8492 export BUILD_TYPE=Debug
8593 cp $GITHUB_WORKSPACE/documentation/index.html doc/
8694 cp $GITHUB_WORKSPACE/documentation/hal_screenshot.* doc/
Original file line number Diff line number Diff line change @@ -97,22 +97,14 @@ jobs:
9797 shell : bash
9898 # Execute the build. You can specify a specific target with "--target <NAME>"
9999 run : |
100- echo "==> Disk usage overview"
101- df -h
102-
103- echo "==> Largest top-level directories (human-readable)"
104- sudo du -h -d1 / 2>/dev/null | sort -hr | head -n 20 || true
105-
106- echo "==> Hosted toolcache size"
107- sudo du -h -d1 /opt/hostedtoolcache / 2>/dev/null | sort -hr | head -n 20 || true
108-
109- cd build
100+ echo "==> Disk usage before clean"
110101 df -h .
111-
112102 sudo rm -rf /usr/share/dotnet
113103 sudo rm -rf /opt/ghc
114104 sudo rm -rf /usr/local/lib/android
115105 sudo rm -rf /opt/hostedtoolcache
106+ echo "==> Disk usage after clean"
107+ df -h .
116108 ninja
117109 env :
118110 CCACHE_DIR : ${{runner.workspace}}/.ccache
You can’t perform that action at this time.
0 commit comments