1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00
libvirt/ci/cirrus
Daniel P. Berrangé 156315cff4 gitlab: avoid building libvirt twice and running syntax-check twice
In the distros using RPMs, we build libvirt once as a side effect
of running "ninja dist", and once via rpmbuild.

In addition "ninja dist" will run all tests including the "syntax-check"
suite, despite use having a separate "codestyle" job for for that.

There is no way to pass "--no-suite" when creating the dist, but if we
switch to invoking "meson dist", we can skip the build+test part
entirely  using "--no-tests".

When doing this we then run explicit "meson compile" and "meson test"
commands for the distros that don't build the RPMs, and in the latter
case we can now skip the "syntax-check" suite.

The RPM builds already skipped the "syntax-check" suite.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-05-12 14:18:15 +01:00
..
build.yml gitlab: avoid building libvirt twice and running syntax-check twice 2021-05-12 14:18:15 +01:00
freebsd-12.vars ci: Refresh contents 2021-05-05 13:25:14 +02:00
freebsd-13.vars ci: Add FreeBSD 13 2021-05-05 13:25:17 +02:00
freebsd-current.vars ci: Refresh contents 2021-05-05 13:25:14 +02:00
macos-11.vars ci: Refresh contents 2021-05-05 13:25:14 +02:00