mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
ci: Fix subproject initialisation for scan-build and coverity
Fixes commit 93271385f9
.
Previously the `before_script` from `.build-linux` was used in whole for
these two jobs, but since the `.build-gobject-introspection` template
was also added, the `before_script`s from the two templates need to be
explicitly combined.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Fixes: #3458
This commit is contained in:
parent
744cdd0f0d
commit
d6be962af9
@ -790,6 +790,7 @@ scan-build:
|
||||
-disable-checker deadcode.DeadStores
|
||||
--status-bugs
|
||||
before_script:
|
||||
- !reference [".build-linux", "before_script"]
|
||||
- !reference [".build-gobject-introspection", "before_script"]
|
||||
script:
|
||||
- meson setup ${MESON_COMMON_OPTIONS}
|
||||
@ -824,6 +825,7 @@ scan-build:
|
||||
# cov-build doesn’t like GLIB_DEPRECATED_ENUMERATOR
|
||||
CFLAGS: '-DGLIB_DISABLE_DEPRECATION_WARNINGS'
|
||||
before_script:
|
||||
- !reference [".build-linux", "before_script"]
|
||||
- !reference [".build-gobject-introspection", "before_script"]
|
||||
script:
|
||||
- meson setup ${MESON_COMMON_OPTIONS}
|
||||
|
Loading…
Reference in New Issue
Block a user