From 4eaf02bfd086efa5a1f79413dcfe18fa46e9c91d Mon Sep 17 00:00:00 2001 From: "Echo J." Date: Mon, 9 Mar 2026 17:16:35 +0200 Subject: [PATCH] CI: Compile the client directly with Meson I'm not sure why Ninja had to be called here --- .github/workflows/build-linux.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index d4799065f..1a3896803 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -74,7 +74,7 @@ jobs: export CCACHE_DIR="$CCACHE_DIR" meson setup build_meson --wipe --buildtype=release - - name: Build with Ninja + - name: Build with Meson env: CC: "ccache clang" CXX: "ccache clang++" @@ -82,7 +82,7 @@ jobs: run: | export CCACHE_DIR="${{ runner.temp }}/ccache" # Use all available cores for faster parallel builds - ninja -C build_meson -j$(nproc) -v + meson compile -C build_meson -j $(nproc) -v Minecraft.Client - name: Install patchelf run: sudo apt-get install -y patchelf @@ -220,14 +220,15 @@ jobs: export CCACHE_DIR="$CCACHE_DIR" meson setup build_debug --wipe --buildtype=debug - - name: Build Debug with Ninja + - name: Build Debug with Meson env: CC: "ccache clang" CXX: "ccache clang++" CCACHE_DIR: ${{ runner.temp }}/ccache run: | export CCACHE_DIR="${{ runner.temp }}/ccache" - ninja -C build_debug -j$(nproc) -v + # Use all available cores for faster parallel builds + meson compile -C build_debug -j $(nproc) -v Minecraft.Client - name: Upload debug executable uses: actions/upload-artifact@v4