CI: Compile the client directly with Meson

I'm not sure why Ninja had to be called here
This commit is contained in:
Echo J. 2026-03-09 17:16:35 +02:00 committed by Echo J
parent a2d1f04c58
commit 4eaf02bfd0

View file

@ -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