diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index a537286..e052c4e 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -130,6 +130,7 @@ jobs: BUILD_SCRIPT: ~build_tests.bat RUN_SCRIPT: run_tests.bat SETUP_SCRIPT: | + vswhere -latest set MSVS_VSVARS_PATH="C:\PROGRA~2\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat" echo %MSVS_VSVARS_PATH% if exist %MSVS_VSVARS_PATH% ( @@ -150,6 +151,7 @@ jobs: RUN_SCRIPT: run_tests.bat SETUP_SCRIPT: | set MSVS_VSVARS_PATH="C:\PROGRA~2\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat" + vswhere -latest echo %MSVS_VSVARS_PATH% if exist %MSVS_VSVARS_PATH% ( echo call %MSVS_VSVARS_PATH% > ~build_tests.bat @@ -170,6 +172,7 @@ jobs: RUN_SCRIPT: run_tests.bat SETUP_SCRIPT: | set MSVS_VSVARS_PATH="C:\PROGRA~2\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + vswhere -latest echo %MSVS_VSVARS_PATH% if exist %MSVS_VSVARS_PATH% ( echo call %MSVS_VSVARS_PATH% > ~build_tests.bat @@ -189,6 +192,7 @@ jobs: RUN_SCRIPT: run_tests.bat SETUP_SCRIPT: | set MSVS_VSVARS_PATH="C:\PROGRA~2\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + vswhere -latest echo %MSVS_VSVARS_PATH% if exist %MSVS_VSVARS_PATH% ( echo call %MSVS_VSVARS_PATH% > ~build_tests.bat