debug: add ninja verbose output to see compile commands

Temporarily adding -v flag to ninja builds to see actual compile
commands. This will show whether ccache is actually being invoked
or if the CMAKE_C_COMPILER_LAUNCHER setting isn't taking effect.

We should see either:
  ccache /usr/bin/g++-13 -c file.cpp  (working)
  /usr/bin/g++-13 -c file.cpp         (not working)

This is temporary for debugging - remove once ccache issue resolved.
This commit is contained in:
Nicholas Dudfield
2025-10-30 17:04:00 +07:00
parent ef40a7f351
commit 2433bfe277

View File

@@ -161,7 +161,8 @@ runs:
shell: bash
run: |
cd ${{ inputs.build_dir }}
cmake --build . --config ${{ inputs.configuration }} --parallel $(nproc)
# TEMPORARY: Add -v to see compile commands for ccache debugging
cmake --build . --config ${{ inputs.configuration }} --parallel $(nproc) -- -v
- name: Show ccache statistics
if: inputs.ccache_enabled == 'true'