Files
PX4-Autopilot/.github
Nuno Marques c2e5270ec3 ci(workflows): matrix Windows unit tests on MSVC and clang-cl
Replace the single-compiler `tests-windows-msvc` job with a matrix
job `tests-windows` that runs the Windows shim unit tests under
both native MSVC (cl.exe) and the LLVM clang-cl.exe driver against
the same MSVC headers/CRT. The matrix axis is `compiler: [msvc,
clang-cl]` with `fail-fast: false` so each toolchain reports
independently.

Wire the toolchain selection through the CC/CXX env vars on the
configure step: empty for the MSVC default discovered via vcvars,
or `clang-cl.exe` for the LLVM driver. The remaining steps (build,
ctest, save-ccache) are toolchain-agnostic.

Catches toolchain-specific shim regressions (clang-cl widening of
the MSVC shim gates, fuzztest fallback to FetchContent gtest, the
googletest -Wcharacter-conversion suppression) before they hit the
SITL build path.

Signed-off-by: Nuno Marques <n.marques21@hotmail.com>
2026-05-07 18:07:22 -07:00
..
2026-04-28 10:29:49 -06:00