From a57060be5b2a54348aa6b195006ef531364102c7 Mon Sep 17 00:00:00 2001 From: jolavillette Date: Sat, 15 Aug 2026 12:01:08 +0200 Subject: [PATCH] ci(windows): call the launcher through bash ninja: fatal: CreateProcess: %1 is not a valid Win32 application The launcher was reached, but ninja starts it with CreateProcess, which cannot run a .sh: the shebang means nothing to Windows. CMAKE_CXX_COMPILER_LAUNCHER takes a ;-separated list, so naming bash explicitly puts a real executable first and the script becomes its argument. --- .github/workflows/windows-cmake.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows-cmake.yml b/.github/workflows/windows-cmake.yml index 73eb9f1b3..3d43b7e91 100644 --- a/.github/workflows/windows-cmake.yml +++ b/.github/workflows/windows-cmake.yml @@ -73,6 +73,10 @@ jobs: # headers that need C++11. This launcher rewrites that one flag and # forwards everything else untouched, so nothing else in the build is # affected and CMakeLists.txt stays as it is. + # + # Invoked as "bash;