File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,9 +135,20 @@ jobs:
135135 pixi run --skip-deps build
136136 echo "****** df -h / -- post build"
137137 df -h /
138+
139+ - name : Free disk space after build
140+ shell : bash
141+ run : |
142+ # Remove object files and static libraries (not needed for testing)
138143 find build -type f -name "*.o" -delete
139144 find build -type f -name "*.a" -delete
140- echo "****** df -h / -- post .o .a cleanup"
145+ # Remove downloaded data tarballs (already extracted)
146+ rm -f InsightData-*.tar.gz
147+ # Remove extracted source tarball directory
148+ rm -rf InsightToolkit-${{ env.ExternalDataVersion }}
149+ # Trim ccache to stay within CCACHE_MAXSIZE and remove orphaned entries
150+ ccache --cleanup 2>/dev/null || true
151+ echo "****** df -h / -- post cleanup"
141152 df -h /
142153
143154 - name : Test
You can’t perform that action at this time.
0 commit comments