diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-02-25 10:34:07 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-03-10 09:44:43 +0000 |
commit | 86ffbbc295a1c6fd501eef44b8a2b2a0f6c327ca (patch) | |
tree | 041486f38a7ecde352a45e3c300fd60639d27083 /.gitlab-ci.yml | |
parent | 8f6a67d3144a8b5032e8fa19d424b0cea2e6d275 (diff) |
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 <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4433b0..65dd0d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -83,6 +83,27 @@ meson from tarball: variables: GIT_STRATEGY: none +compare meson and autotools: + extends: + - .fdo.distribution-image@arch + stage: test + script: + - 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: extends: - .fdo.distribution-image@arch |