mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
ci: add job that builds with ASan and UBSan
This commit is contained in:
parent
defd9be03c
commit
9dcfcd7099
1 changed files with 12 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ include:
|
||||||
.fedora:
|
.fedora:
|
||||||
variables:
|
variables:
|
||||||
# Update this tag when you want to trigger a rebuild
|
# Update this tag when you want to trigger a rebuild
|
||||||
FDO_DISTRIBUTION_TAG: '2023-01-18.0'
|
FDO_DISTRIBUTION_TAG: '2023-03-09.0'
|
||||||
FDO_DISTRIBUTION_VERSION: '35'
|
FDO_DISTRIBUTION_VERSION: '35'
|
||||||
FDO_DISTRIBUTION_PACKAGES: >-
|
FDO_DISTRIBUTION_PACKAGES: >-
|
||||||
alsa-lib-devel
|
alsa-lib-devel
|
||||||
|
|
@ -44,10 +44,12 @@ include:
|
||||||
gstreamer1-devel
|
gstreamer1-devel
|
||||||
gstreamer1-plugins-base-devel
|
gstreamer1-plugins-base-devel
|
||||||
jack-audio-connection-kit-devel
|
jack-audio-connection-kit-devel
|
||||||
|
libasan
|
||||||
libcanberra-devel
|
libcanberra-devel
|
||||||
libldac-devel
|
libldac-devel
|
||||||
libmysofa-devel
|
libmysofa-devel
|
||||||
libsndfile-devel
|
libsndfile-devel
|
||||||
|
libubsan
|
||||||
libusb-devel
|
libusb-devel
|
||||||
lilv-devel
|
lilv-devel
|
||||||
libv4l-devel
|
libv4l-devel
|
||||||
|
|
@ -316,6 +318,15 @@ build_with_custom_options:
|
||||||
- meson compile -C "$BUILD_DIR" $COMPILE_ARGS
|
- meson compile -C "$BUILD_DIR" $COMPILE_ARGS
|
||||||
- meson test -C "$BUILD_DIR" --no-rebuild
|
- meson test -C "$BUILD_DIR" --no-rebuild
|
||||||
|
|
||||||
|
build_with_asan_ubsan:
|
||||||
|
extends:
|
||||||
|
- .build_on_fedora
|
||||||
|
script:
|
||||||
|
- echo "Building with ASan and UBSan"
|
||||||
|
- meson setup "$BUILD_DIR" --prefix="$PREFIX" -D debug=true -D optimization=g -D b_sanitize=address,undefined -D session-managers=[]
|
||||||
|
- meson compile -C "$BUILD_DIR" $COMPILE_ARGS
|
||||||
|
- meson test -C "$BUILD_DIR" --no-rebuild
|
||||||
|
|
||||||
# A release build with NDEBUG, all options on auto() but tests explicitly
|
# A release build with NDEBUG, all options on auto() but tests explicitly
|
||||||
# enabled. This should show issues with tests failing due to different
|
# enabled. This should show issues with tests failing due to different
|
||||||
# optimization or relying on assert.
|
# optimization or relying on assert.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue