From 73babfe47e3eabd427d67d794808589a8b6a85bc Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 14 Mar 2024 11:59:15 -0700 Subject: [PATCH] CI: Windows MSVC w/ Ninja It looks like `-G "Ninja"` swapped the compiler from MSVC to MinGW (GCC). This ensures MSVC is actually used and tested in CI. --- .github/workflows/windows.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1d8539ee77b..eff38e90bfb 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -26,6 +26,9 @@ jobs: # Invoke-WebRequest https://github.com/ccache/ccache/releases/download/v4.8/ccache-4.8-windows-x86_64.zip -OutFile ccache-4.8-windows-x86_64.zip # Expand-Archive ccache-4.8-windows-x86_64.zip - name: Build & Install + env: + CC: "cl.exe" + CXX: "cl.exe" run: | #$ccachepath = Join-Path $pwd "ccache-4.8-windows-x86_64" #$Env:PATH += ";$ccachepath" @@ -70,6 +73,9 @@ jobs: # Invoke-WebRequest https://github.com/ccache/ccache/releases/download/v4.8/ccache-4.8-windows-x86_64.zip -OutFile ccache-4.8-windows-x86_64.zip # Expand-Archive ccache-4.8-windows-x86_64.zip - name: Build & Install + env: + CC: "cl.exe" + CXX: "cl.exe" run: | #$ccachepath = Join-Path $pwd "ccache-4.8-windows-x86_64" #$Env:PATH += ";$ccachepath"