CI: Remove redundant ccache options

This commit is contained in:
Echo J. 2026-03-26 15:12:41 +02:00
parent d5cf90c713
commit d393a09a58

View file

@ -32,9 +32,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y build-essential ccache python3 python3-pip ninja-build libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev libglm-dev
python -m pip install meson
# Set a reasonable ccache size
ccache -M 5G || true
python -m pip install meson
- name: Restore ccache
uses: actions/cache@v4
@ -52,10 +49,7 @@ jobs:
env:
CC: "ccache clang"
CXX: "ccache clang++"
CCACHE_DIR: ${{ runner.temp }}/ccache
run: |
mkdir -p "$CCACHE_DIR"
export CCACHE_DIR="$CCACHE_DIR"
meson setup build --wipe --native-file=./scripts/llvm_native.txt
- name: Build with Meson
@ -64,7 +58,6 @@ jobs:
CXX: "ccache clang++"
CCACHE_DIR: ${{ runner.temp }}/ccache
run: |
export CCACHE_DIR="${{ runner.temp }}/ccache"
# Use all available cores for faster parallel builds
meson compile -C build -j $(nproc) -v Minecraft.Client
@ -76,4 +69,4 @@ jobs:
with:
name: minecraft-client-linux-${{ github.sha }}
path: build/Minecraft.Client/Minecraft.Client
retention-days: 7
retention-days: 7