[libvirt PATCH v2 09/35] ci: build.sh: Add a wrapper function over the 'codestyle' job

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

 



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

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

diff --git a/ci/build.sh b/ci/build.sh
index 29b6a3306d..e6c3225691 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -57,3 +57,11 @@ run_test() {
     test -d $GIT_ROOT/build/build.ninja || run_meson_setup
     run_cmd meson test -C build $TEST_ARGS
 }
+
+run_codestyle() {
+    BUILD_ARGS="libvirt-pot-dep"
+    TEST_ARGS="--suite syntax-check --no-rebuild --print-errorlogs"
+
+    run_build
+    run_test
+}
-- 
2.41.0




[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