From d3f54479b2517a1bcc6204888f0ebdd8db53aa74 Mon Sep 17 00:00:00 2001 From: FreeSlave Date: Fri, 25 Oct 2024 16:47:38 +0300 Subject: [PATCH] Try using cmake in regular way on Windows --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c75a1c42..98126bdd3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,13 +69,15 @@ jobs: - name: Build on Windows if: startsWith(matrix.os, 'windows') run: | - cmake -G "Visual Studio 16 2019" -A Win32 -B build -DCMAKE_INSTALL_PREFIX="dist" - msbuild -verbosity:normal /property:Configuration=Release build/INSTALL.vcxproj + cmake -A Win32 -B build -DCMAKE_INSTALL_PREFIX="dist" + cmake --build build --config Release --target all + cmake --build build --config Release --target install - name: Build on Windows with vgui if: startsWith(matrix.os, 'windows') run: | - cmake -G "Visual Studio 16 2019" -A Win32 -B build -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="dist-vgui" - msbuild -verbosity:normal /property:Configuration=Release build/INSTALL.vcxproj + cmake -A Win32 -B build -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="dist-vgui" + cmake --build build-vgui --config Release --target all + cmake --build build-vgui --config Release --target install - name: Extract branch name shell: bash