CI: Restore cpp coverage generation
Another fix, after regression in !788 (merged). Oops
Before:
After:
The build-dir
needs to be specified, otherwise the binary
files end up in /tmp/ and are deleted after the build!
Coverage is written in the same location as the binary
files, so this is no longer possible. We see no coverage
reported for the cpp files.
The binaryDir
is specified in the ci-build
preset
from CMakePresets.json
, but it doesn't seem to be sufficient.