[libvirt PATCH 12/33] ci: build.sh: Add a wrapper function over the 'website' job

Erik Skultety eskultet at redhat.com
Fri Aug 25 17:55:20 UTC 2023


This helper is a shell function transcript of its original GitLab CI
counterpart.

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

diff --git a/ci/build.sh b/ci/build.sh
index 30f4712e4b..6673ec6b18 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -105,3 +105,11 @@ run_rpmbuild() {
     run_meson_setup
     run_dist
 }
+
+run_website_build() {
+    export DESTDIR="$(pwd)/install"
+    BUILD_ARGS="install-web"
+
+    run_meson_setup
+    run_build
+}
-- 
2.41.0



More information about the libvir-list mailing list