Skip to content

Commit

Permalink
Skip test collation for LLVM builds on Windows
Browse files Browse the repository at this point in the history
No sure why, but lcov fails in this scenario, at least on GitHub
hosted runners:

> error: Failed to load coverage: 'D:/a/_temp/coverage/src/lib/
> CMakeFiles/QtPokit.dir/QtPokit_autogen/mocs_compilation.cpp.obj':
> Malformed coverage data
> error: Could not load coverage information
  • Loading branch information
pcolby committed Jan 7, 2025
1 parent 776df94 commit b1e4790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ jobs:
if: matrix.arch != 'arm64'
run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%/release" --verbose
- name: Collate test coverage
if: matrix.toolchain != 'msvc'
if: matrix.toolchain != 'msvc' && matrix.toolchain != 'llvm'
run: cmake --build "%RUNNER_TEMP%/coverage" --target coverage --verbose
- name: Upload test results
if: matrix.arch != 'arm64' && ( matrix.toolchain != 'msvc' || fromJSON(steps.post-build.outputs.tap) )
Expand Down

0 comments on commit b1e4790

Please sign in to comment.