mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-21 02:05:38 +00:00
ci: add a job to build with the minimum required meson version
We can't build the session managers though, both require higher meson versions than us.
This commit is contained in:
parent
cc38f8cc79
commit
cd3bd825c1
|
@ -262,6 +262,22 @@ build_meson_prerelease:
|
||||||
MESON_OPTIONS: "-Dsession-managers=wireplumber,media-session"
|
MESON_OPTIONS: "-Dsession-managers=wireplumber,media-session"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
build_meson_exact_release:
|
||||||
|
extends:
|
||||||
|
- .build_on_fedora
|
||||||
|
script:
|
||||||
|
- meson_version=$(head -n 5 meson.build | grep 'meson_version' | sed -e 's/.*\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/')
|
||||||
|
- echo "Requiring meson version $meson_version"
|
||||||
|
- test -n "$meson_version" || (echo "Meson version parser failed" && exit 1)
|
||||||
|
- pip3 uninstall --yes meson
|
||||||
|
- pip3 install "meson==$meson_version"
|
||||||
|
- echo "Building with meson options $MESON_OPTIONS"
|
||||||
|
- meson "$BUILD_DIR" . --prefix="$PREFIX" $MESON_OPTIONS
|
||||||
|
- ninja -C "$BUILD_DIR"
|
||||||
|
- ninja -C "$BUILD_DIR" install
|
||||||
|
variables:
|
||||||
|
MESON_OPTIONS: "-Dsession-managers=[]"
|
||||||
|
|
||||||
valgrind:
|
valgrind:
|
||||||
extends:
|
extends:
|
||||||
- .build_on_fedora
|
- .build_on_fedora
|
||||||
|
|
Loading…
Reference in a new issue