From 046642df329489d76d590c3b3479646e9e2847e7 Mon Sep 17 00:00:00 2001 From: NOTPIES Date: Tue, 21 Apr 2026 00:27:22 -0400 Subject: [PATCH] Build Minecraft.World --- .github/workflows/build-channel.yml | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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: |