ci: Always build with frame pointers

This should help with getting better stacktraces out of the build.

The container image isn't yet built with frame-pointers, but once
we update to fedora 38 that will be resolved and improve things further
as well.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5543>
This commit is contained in:
Jordan Petridis 2023-10-24 06:36:00 +03:00 committed by GStreamer Marge Bot
parent 48955f863d
commit 2dae4617c4

View file

@ -40,9 +40,10 @@ variables:
WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
_BUILD_IGNORE_DEPRECATIONS: >
-Dc_args="-Wno-error=deprecated-declarations"
-Dcpp_args="-Wno-error=deprecated-declarations"
_CI_CFLAGS: >-
-Wno-error=deprecated-declarations
-fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
DEFAULT_MESON_ARGS: >-
-Dlibnice:tests=disabled
@ -282,7 +283,7 @@ commitlint:
fi
- echo $ARGS
- date -R
- meson setup build/ ${_BUILD_IGNORE_DEPRECATIONS} $(echo ${ARGS})
- meson setup build/ -Dc_args="${_CI_CFLAGS}" -Dcpp_args="${_CI_CFLAGS}" $(echo ${ARGS})
- date -R
- ninja -C build/
- date -R