From 285cb788e9da2a965178cc8e0769e4821ff0c799 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Mon, 13 Apr 2026 11:54:22 +0100 Subject: [PATCH] ci: Replace `ilammy/msvc-dev-cmd` with manual MSVC setup The `ilammy/msvc-dev-cmd` repository seems abandoned and should be considered unsafe. This updates the workflow to load the MSVC environment variables directly via `vcvars64.bat`. See https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line. --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 152f9a1f..9b836cd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -604,11 +604,10 @@ jobs: steps: - *CHECKOUT - - name: Add cl.exe to PATH - uses: ilammy/msvc-dev-cmd@v1 - - name: C++ (public headers) + shell: cmd run: | + call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" cl.exe -c -WX -TP include/*.h cxx_fpermissive_debian: