Commit 86ffbbc2 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

gitlab CI: add a job to compare meson and autotools standard installs

Build and install with meson, build and install with autotools and then run
diff to compare the two directory trees. They should be the same.

This does not install the legacy protocols, they're behind a configure switch.
The spec-build is disabled in autotools because we know meson doesn't do that
yet, so no point in comparing those.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 8f6a67d3
......@@ -83,6 +83,27 @@ meson from tarball:
compare meson and autotools:
- .fdo.distribution-image@arch
stage: test
- mkdir -p $PWD/_meson_inst
- mkdir -p $PWD/_autotools_inst
# the prefix ends up in the pkgconfig files, so we use a symlink
# to use the same --prefix for meson and autotools
- ln -sf $PWD/_meson_inst $PWD/_inst
- meson builddir
- meson configure builddir --prefix=$PWD/_inst
- ninja -C builddir install
- rm $PWD/_inst
- ln -sf $PWD/_autotools_inst $PWD/_inst
- autoreconf -ivf
# meson doesn't build the specs yet
- ./configure --prefix=$PWD/_inst --disable-specs
- make && make install
- diff --brief --recursive $PWD/_meson_inst $PWD/_autotools_inst
check evdev keysyms:
- .fdo.distribution-image@arch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment