Skip to content

Commit

Permalink
Try GHA sln build
Browse files Browse the repository at this point in the history
  • Loading branch information
z33ky committed Nov 14, 2021
1 parent 91eef57 commit 67728fa
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67728fa

Please sign in to comment.