mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-15 06:47:14 +01:00
ci: Fix subproject initialisation for scan-build and coverity
Fixes commit 93271385f9cb83cdbdf9f850842d3ddae518ed8d. 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…
x
Reference in New Issue
Block a user