From 67728fa84707b5da2d5cf5daf901685cfd940aa1 Mon Sep 17 00:00:00 2001 From: Alexander 'z33ky' Hirsch <1zeeky@gmail.com> Date: Sun, 14 Nov 2021 16:21:38 +0100 Subject: [PATCH] Try GHA sln build --- .github/workflows/msbuild.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 0029075d38..93685295f1 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -35,20 +35,19 @@ jobs: reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\Projects\{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}" /v DefaultProjectExtension /t REG_SZ /d vcproj /f creategameprojects.bat + - name: Fix sln + working-directory: sp/src + shell: bash + run: ../../.github/workflows/fix_sln.sh games_ntks.sln >>games_ntks.sln + - name: Build working-directory: sp/src # Add additional options to the MSBuild command line here (like platform or verbosity level). # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference shell: cmd run: | - msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} mathlib\mathlib.vcxproj - msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} raytrace\raytrace.vcxproj - msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} responserules\runtime\responserules.vcxproj - msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} tier1\tier1.vcxproj - msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} vgui2\vgui_controls\vgui_controls.vcxproj - msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} vscript\vscript.vcxproj - msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} game\client\client_ntks.vcxproj - msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} game\server\server_ntks.vcxproj + msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} -t:"Client _NTKS_" games_ntks.sln + msbuild -m -p:Configuration=${{env.BUILD_CONFIGURATION}} -t:"Server _NTKS_" games_ntks.sln - name: Publish Windows game DLLs uses: actions/upload-artifact@v2