ci: test with all auto() features enabled

This should catch any potential issues with conflicting options, missing
libraries, etc.

We need to disable aptx and roc because Fedora doesn't ship those
libraries, and we disable libcamera because it's a moving target and
shouldn't hold up the pipeline.
This commit is contained in:
Peter Hutterer 2022-01-27 14:42:47 +10:00
parent fd1112c4e2
commit 6bd1bec2a4

View file

@ -22,14 +22,16 @@ 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: '2022-01-27.1' FDO_DISTRIBUTION_TAG: '2022-01-28.0'
FDO_DISTRIBUTION_VERSION: '35' FDO_DISTRIBUTION_VERSION: '35'
FDO_DISTRIBUTION_PACKAGES: >- FDO_DISTRIBUTION_PACKAGES: >-
alsa-lib-devel alsa-lib-devel
avahi-devel
bluez-libs-devel bluez-libs-devel
clang clang
dbus-devel dbus-devel
doxygen doxygen
fdk-aac-free-devel
findutils findutils
gcc gcc
gcc-c++ gcc-c++
@ -39,10 +41,15 @@ include:
gstreamer1-devel gstreamer1-devel
gstreamer1-plugins-base-devel gstreamer1-plugins-base-devel
jack-audio-connection-kit-devel jack-audio-connection-kit-devel
libcanberra-devel
libldac-devel
libsndfile-devel libsndfile-devel
libusb-devel
lilv-devel
libv4l-devel libv4l-devel
libva-devel libva-devel
libX11-devel libX11-devel
openssl-devel
pulseaudio-libs-devel pulseaudio-libs-devel
python3-docutils python3-docutils
sbc-devel sbc-devel
@ -202,6 +209,18 @@ build_on_fedora:
- build-*/meson-logs - build-*/meson-logs
- prefix-* - prefix-*
# build with all auto() options enabled
build_all:
extends:
- .build_on_fedora
variables:
# Fedora doesn't have libfreeaptx or roc
# libcamera has no stable API, so let's not chase that target
MESON_OPTIONS: "-Dauto_features=enabled -Dbluez5-codec-aptx=disabled -Droc=disabled -Dlibcamera=disabled"
parallel:
matrix:
- CC: [gcc, clang]
# build with all options on auto() or their default values # build with all options on auto() or their default values
build_with_no_commandline_options: build_with_no_commandline_options:
extends: extends: