]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: build.sh: Add a wrapper function over the 'website' job
authorErik Skultety <eskultet@redhat.com>
Thu, 24 Aug 2023 13:49:19 +0000 (15:49 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 12 Sep 2023 09:36:03 +0000 (11:36 +0200)
This helper is a shell function transcript of its original GitLab CI
counterpart.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
ci/build.sh

index ffcd5385fff6be6b5da8167ab1b6c4cbdfe91ea9..c2ef590e6a4640e69e8847a97b1052e295f91955 100644 (file)
@@ -85,3 +85,10 @@ run_rpmbuild() {
                 --define "_without_mingw 1" \
                 -ta build/meson-dist/libvirt-*.tar.xz
 }
+
+run_website_build() {
+    export DESTDIR="${GIT_ROOT}/install"
+    BUILD_ARGS="install-web"
+
+    run_build
+}