diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index a318d23..36de389 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -60,13 +60,11 @@ jobs: # Execute tests defined by the CMake configuration shell: cmd run: | - if "${{ matrix.arch }}" == "x64" - then + if "%matrix.arch%"=="x64" ( call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - elif "${{ matrix.arch }}" == "x86" - then + ) else if "%matrix.arch%"=="x86" ( call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat" - fi + ) - name: Configure CMake # Note the current configuration is for a basic C++ project. You'll need to update this for your specific needs.