diff --git a/.github/workflows/build-channel.yml b/.github/workflows/build-channel.yml index 9614c4b..0ab6d5d 100644 --- a/.github/workflows/build-channel.yml +++ b/.github/workflows/build-channel.yml @@ -94,6 +94,21 @@ jobs: - name: Build Minecraft.Client (Release) shell: pwsh run: | + msbuild .\Minecraft.World\Minecraft.World.vcxproj ` + /m ` + /t:Build ` + /p:Configuration=Release ` + /p:Platform=x64 ` + /p:PlatformToolset=${{ env.WINDOWS_PLATFORM_TOOLSET }} ` + /p:PreferredToolArchitecture=x64 ` + /p:UseMultiToolTask=true ` + /p:CL_MPCount=8 ` + /verbosity:minimal + + if (-not (Test-Path .\Minecraft.World\x64_Release\Minecraft.World.lib)) { + throw "Minecraft.World.lib was not produced at .\\Minecraft.World\\x64_Release\\Minecraft.World.lib" + } + msbuild .\\Minecraft.Client\\Minecraft.Client.vcxproj ` /m ` /t:Build ` @@ -327,6 +342,24 @@ jobs: exit 1 } + - name: Build Minecraft.World (Release) + shell: pwsh + run: | + msbuild .\Minecraft.World\Minecraft.World.vcxproj ` + /m ` + /t:Build ` + /p:Configuration=Release ` + /p:Platform=x64 ` + /p:PlatformToolset=${{ env.WINDOWS_PLATFORM_TOOLSET }} ` + /p:PreferredToolArchitecture=x64 ` + /p:UseMultiToolTask=true ` + /p:CL_MPCount=8 ` + /verbosity:minimal + + if (-not (Test-Path .\Minecraft.World\x64_Release\Minecraft.World.lib)) { + throw "Minecraft.World.lib was not produced at .\\Minecraft.World\\x64_Release\\Minecraft.World.lib" + } + - name: Build Minecraft.Server (Release) shell: pwsh run: |