mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-30 11:25:47 +00:00
.gitlab-ci.yml: Convert the potfile job to the build.sh usage
Individual shell command executions are replaced by respective functions in the ci/build.sh base script. This will make sure we use the same recipes in GitLab jobs as well as in local executions. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
7f2adaa3d8
commit
2471a3b232
@ -156,9 +156,8 @@ potfile:
|
|||||||
before_script:
|
before_script:
|
||||||
- *script_variables
|
- *script_variables
|
||||||
script:
|
script:
|
||||||
- meson setup build --werror || (cat build/meson-logs/meson-log.txt && exit 1)
|
- source ci/jobs.sh
|
||||||
- meson compile -C build libvirt-pot-dep
|
- run_potfile
|
||||||
- meson compile -C build libvirt-pot
|
|
||||||
after_script:
|
after_script:
|
||||||
- test "$CI_JOB_STATUS" != "success" && exit 1;
|
- test "$CI_JOB_STATUS" != "success" && exit 1;
|
||||||
- cp po/libvirt.pot libvirt.pot
|
- cp po/libvirt.pot libvirt.pot
|
||||||
|
Loading…
Reference in New Issue
Block a user