CI: Add and use ccache in build-each-commit job

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Anthony PERARD <anthony.perard@vates.tech>
This commit is contained in:
Anthony PERARD committed 2025-08-01 13:47:18 +02:00
1 parent 8af285ff79
commit ca04a92ec1
2 files changed
+8

No files matched your search

@@ -54,6 +54,9 @@ RUN <<EOF
expect
qemu-system-x86
# for build-each-commit-gcc
ccache
# for qemu-alpine-x86_64-gcc
busybox-static
cpio
@@ -12,6 +12,11 @@ if [[ $? -ne 0 ]]; then
exit 0
fi
if [ -d /usr/lib/ccache ]; then
echo "Building with ccache"
PATH="/usr/lib/ccache:$PATH"
fi
echo "Building ${BASE}..${TIP}"
NON_SYMBOLIC_REF=1 ./automation/scripts/build-test.sh ${BASE} ${TIP} \
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.