diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-04-30 09:11:43 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-04-30 09:31:12 +1000 |
commit | 34b8a46e640c655b5e552410817fa70ca558f4d2 (patch) | |
tree | 7f2e83d51bb5a5a8c8ed8842c2a9c1831f75305e /.gitlab-ci.yml | |
parent | b6bc35b845163de5ab2bfa9521bdf4d8aef28604 (diff) |
gitlab CI: check that the autotools and meson versions are in sync
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65dd0d2..bfee17e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ variables: FDO_UPSTREAM_REPO: 'xorg/proto/xorgproto' # Changing the tag will rebuild the container images. The value is just a # string, but we use the date for human benefits. - FDO_DISTRIBUTION_TAG: '2021-02-24.0' + FDO_DISTRIBUTION_TAG: '2021-04-30.0' stages: - prep @@ -29,7 +29,7 @@ container-prep: # minimal set of packages required to build and install BASE_PACKAGES: 'meson ninja gcc autoconf automake make xorg-util-macros pkgconf' # extra packages we need for various tests - EXTRA_PACKAGES: 'git libevdev python python-libevdev python-black' + EXTRA_PACKAGES: 'git libevdev python python-libevdev python-black jq' FDO_DISTRIBUTION_PACKAGES: $BASE_PACKAGES $EXTRA_PACKAGES meson: @@ -121,3 +121,17 @@ check formatting: only: changes: - scripts/keysym-generator.py + +check versions are in sync: + extends: + - .fdo.distribution-image@arch + stage: test + script: + - autoreconf -ivf + - ./configure --version | head -n 1 | sed -e 's/xorgproto configure //' > autotools.version + - | + meson builddir + pushd builddir + meson introspect --projectinfo | jq -r '.version' > ../meson.version + popd + - diff -u autotools.version meson.version || (echo "ERROR - autotools and meson versions not in sync" && false) |