[libvirt PATCH 11/20] ci: build.sh: Move the necessary env variables to build.sh

Erik Skultety eskultet at redhat.com
Mon Feb 6 13:53:08 UTC 2023


Originally coming from the list in our gitlab-ci.yml. The corresponding
gitlab-ci.yml change will come in a future patch.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 ci/build.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/ci/build.sh b/ci/build.sh
index 5faa96e123..15c157067b 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -1,9 +1,14 @@
 #!/bin/sh
 
+export CCACHE_BASEDIR="$(pwd)"
+export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
+export CCACHE_MAXSIZE="500M"
+export PATH="$CCACHE_WRAPPERSDIR:$PATH"
+export VIR_TEST_VERBOSE="1"
+export VIR_TEST_DEBUG="1"
+
 cd "$CI_CONT_SRCDIR"
 
-export VIR_TEST_DEBUG=1
-
 # $MESON_OPTS is an env that can optionally be set in the container,
 # populated at build time from the Dockerfile. A typical use case would
 # be to pass options to trigger cross-compilation
-- 
2.39.1



More information about the libvir-list mailing list