mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-04 02:44:36 +00:00
CI: Remove redundant ccache options
This commit is contained in:
9
.github/workflows/build-linux.yml
vendored
9
.github/workflows/build-linux.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user