From 6bd1bec2a414d2c9b2a053a1385b3d388ceed75d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 27 Jan 2022 14:42:47 +1000 Subject: [PATCH] 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. --- .gitlab-ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be01f0b79..de5d7502e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,14 +22,16 @@ include: .fedora: variables: # 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_PACKAGES: >- alsa-lib-devel + avahi-devel bluez-libs-devel clang dbus-devel doxygen + fdk-aac-free-devel findutils gcc gcc-c++ @@ -39,10 +41,15 @@ include: gstreamer1-devel gstreamer1-plugins-base-devel jack-audio-connection-kit-devel + libcanberra-devel + libldac-devel libsndfile-devel + libusb-devel + lilv-devel libv4l-devel libva-devel libX11-devel + openssl-devel pulseaudio-libs-devel python3-docutils sbc-devel @@ -202,6 +209,18 @@ build_on_fedora: - build-*/meson-logs - 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_no_commandline_options: extends: