From 860853505ee4e1d0d8a20f064f3848778b4f5b4a Mon Sep 17 00:00:00 2001 From: Liriosha <57261793+Liriosha@users.noreply.github.com> Date: Thu, 19 Mar 2026 16:31:46 -0400 Subject: [PATCH] therewasanattempt --- .github/workflows/build-linux.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 8fb6acb9a..6701797b4 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -33,6 +33,9 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential ccache python3 ninja-build libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev + python3 -m ensurepip + sudo pip install meson + # Set a reasonable ccache size ccache -M 5G || true @@ -56,7 +59,7 @@ jobs: run: | mkdir -p "$CCACHE_DIR" export CCACHE_DIR="$CCACHE_DIR" - meson setup build_release --wipe --buildtype=release --native-file=./scripts/llvm_native.txt + python -m meson setup build_release --wipe --buildtype=release --native-file=./scripts/llvm_native.txt - name: Build with Meson env: @@ -66,7 +69,7 @@ jobs: run: | export CCACHE_DIR="${{ runner.temp }}/ccache" # Use all available cores for faster parallel builds - meson compile -C build_release -j $(nproc) -v Minecraft.Client + python -m meson compile -C build_release -j $(nproc) -v Minecraft.Client - name: Install patchelf run: sudo apt-get install -y patchelf @@ -86,7 +89,9 @@ jobs: - name: Install system dependencies run: | sudo apt-get update - sudo apt-get install -y build-essential ccache python3 ninja-build meson libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev + sudo apt-get install -y build-essential ccache python3 ninja-build libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev + python3 -m ensurepip + sudo pip install meson # Set a reasonable ccache size ccache -M 5G || true @@ -110,7 +115,7 @@ jobs: run: | mkdir -p "$CCACHE_DIR" export CCACHE_DIR="$CCACHE_DIR" - meson setup build_debug --wipe --buildtype=debug --native-file=./scripts/llvm_native.txt + python -m meson setup build_debug --wipe --buildtype=debug --native-file=./scripts/llvm_native.txt - name: Build Debug with Meson env: @@ -120,7 +125,7 @@ jobs: run: | export CCACHE_DIR="${{ runner.temp }}/ccache" # Use all available cores for faster parallel builds - meson compile -C build_debug -j $(nproc) -v Minecraft.Client + python -m meson compile -C build_debug -j $(nproc) -v Minecraft.Client - name: Upload debug executable uses: actions/upload-artifact@v4