mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 18:55:49 +00:00
debug: add ccache directory inspection after build
Add comprehensive debug output to inspect ~/.ccache contents: - Full recursive directory listing - Disk space check (rule out disk full) - ccache config verification - Directory sizes - List actual files (distinguish config from cache data) This will help diagnose why ccache is being invoked on every compilation but not creating any cache files (0.0 GB).
This commit is contained in:
18
.github/actions/xahau-ga-build/action.yml
vendored
18
.github/actions/xahau-ga-build/action.yml
vendored
@@ -164,6 +164,24 @@ runs:
|
|||||||
# TEMPORARY: Add -v to see compile commands for ccache debugging
|
# TEMPORARY: Add -v to see compile commands for ccache debugging
|
||||||
cmake --build . --config ${{ inputs.configuration }} --parallel $(nproc) -- -v
|
cmake --build . --config ${{ inputs.configuration }} --parallel $(nproc) -- -v
|
||||||
|
|
||||||
|
- name: Debug ccache directory
|
||||||
|
if: inputs.ccache_enabled == 'true'
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "=== ccache directory contents ==="
|
||||||
|
ls -laR ~/.ccache || echo "Directory doesn't exist"
|
||||||
|
echo ""
|
||||||
|
echo "=== Disk space ==="
|
||||||
|
df -h ~
|
||||||
|
echo ""
|
||||||
|
echo "=== ccache config ==="
|
||||||
|
ccache --show-config | head -30
|
||||||
|
echo ""
|
||||||
|
echo "=== Directory sizes ==="
|
||||||
|
du -sh ~/.ccache 2>/dev/null || echo "No directory"
|
||||||
|
find ~/.ccache -type f -name "*.conf" -o -type f ! -name "*.conf" 2>/dev/null | head -20 || true
|
||||||
|
echo ""
|
||||||
|
|
||||||
- name: Show ccache statistics
|
- name: Show ccache statistics
|
||||||
if: inputs.ccache_enabled == 'true'
|
if: inputs.ccache_enabled == 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user