remove ccache again

cache mounts are not part of GHA caches from docker action
This commit is contained in:
tooomm
2026-07-19 16:33:38 +02:00
parent a11d8eeebf
commit 471393b421
+3 -11
View File
@@ -6,7 +6,6 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
build-essential \ build-essential \
ccache \
cmake \ cmake \
ninja-build \ ninja-build \
file \ file \
@@ -20,24 +19,17 @@ RUN apt-get update \
qt6-tools-dev \ qt6-tools-dev \
qt6-tools-dev-tools qt6-tools-dev-tools
ENV CCACHE_DIR=/root/.ccache
ENV CCACHE_MAXSIZE=550M
WORKDIR /src WORKDIR /src
COPY . . COPY . .
RUN --mount=type=cache,id=ccache,target=/root/.ccache \ RUN cmake \
cmake \ -S . \
-S . \
-B build \ -B build \
-G Ninja \ -G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DWITH_SERVER=1 \ -DWITH_SERVER=1 \
-DWITH_CLIENT=0 \ -DWITH_CLIENT=0 \
-DWITH_ORACLE=0 \ -DWITH_ORACLE=0 \
&& cmake --build build \ && cmake --build build \
&& cmake --install build \ && cmake --install build
&& ccache --show-config \
&& ccache --show-stats
# -------- Runtime Stage (clean) -------- # -------- Runtime Stage (clean) --------