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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux