ci: Run libvirt-pot-check in potfile job

The potfile job will fail unless all format strings are permutable
(checked by meson compile libvirt-pot-check).

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Jiri Denemark 2023-03-09 10:19:47 +01:00
parent bdbe14d91f
commit 44520f6e01

View File

@ -155,6 +155,7 @@ potfile:
- meson setup build --werror || (cat build/meson-logs/meson-log.txt && exit 1) - meson setup build --werror || (cat build/meson-logs/meson-log.txt && exit 1)
- ninja -C build libvirt-pot-dep - ninja -C build libvirt-pot-dep
- ninja -C build libvirt-pot - ninja -C build libvirt-pot
- ninja -C build libvirt-pot-check
- cp po/libvirt.pot libvirt.pot - cp po/libvirt.pot libvirt.pot
artifacts: artifacts:
expose_as: 'Potfile' expose_as: 'Potfile'