[libvirt PATCH 02/20] gitlab-ci.yml: potfile: Consolidate the meson compile calls

Erik Skultety eskultet at redhat.com
Mon Feb 6 13:52:59 UTC 2023


You can specify multiple targets at once for the 'compile' command.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 699be460ca..e20d0b9be8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -153,8 +153,7 @@ potfile:
     - *script_variables
   script:
     - meson setup build --werror || (cat build/meson-logs/meson-log.txt && exit 1)
-    - meson compile -C build libvirt-pot-dep
-    - meson compile -C build libvirt-pot
+    - meson compile -C build libvirt-pot-dep libvirt-pot
     - cp po/libvirt.pot libvirt.pot
   artifacts:
     expose_as: 'Potfile'
-- 
2.39.1



More information about the libvir-list mailing list