ci: Fix the coverage build

This commit is contained in:
Niels De Graef 2020-11-15 20:56:21 +01:00
parent 5874816714
commit fae49c76d4

View File

@ -303,7 +303,9 @@ if get_option('introspection')
endif endif
# Vala tests # Vala tests
if get_option('vapi') # FIXME: Don't add Vala tests when generating a coverage build, as this
# will fail due to https://github.com/mesonbuild/meson/issues/7426
if get_option('vapi') and not get_option('b_coverage')
# FIXME: the "native" kwarg should be added once we can require meson ≥0.54 # FIXME: the "native" kwarg should be added once we can require meson ≥0.54
add_languages('vala') add_languages('vala')
valac = meson.get_compiler('vala') valac = meson.get_compiler('vala')