mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
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} \
|
||||
|
||||