perf: optimize CI build performance

- Add -C flag to configure for caching
- Use ccache for faster recompilation
This commit is contained in:
2026-01-19 16:38:34 +03:00
parent cb2cd1bbf2
commit 5a34a4a1d3
6 changed files with 20 additions and 20 deletions

View File

@@ -63,12 +63,12 @@ USER root
RUN pacman -U --noconfirm libstrophe-git/libstrophe-git-*.pkg.tar.zst
WORKDIR /usr/src
RUN git clone -c http.sslverify=false https://git.jabber.space/devs/stabber
RUN git clone --depth 1 -c http.sslverify=false https://git.jabber.space/devs/stabber
WORKDIR /usr/src/stabber
RUN ./bootstrap.sh
RUN ./configure --prefix=/usr --disable-dependency-tracking
RUN make
RUN make -j$(nproc)
RUN make install
WORKDIR /usr/src/profanity