summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-06-21 11:38:25 -0700
committerDylan Baker <dylan@pnwbakers.com>2023-06-21 11:38:25 -0700
commitc047e86b0a51cfec1d3a6939fe76e27354be2149 (patch)
tree98edc98faaaf218de5712b0909b43766a045daf9
parentabd305d0fe29019bb3fa3b49623c68b23f4ecf3f (diff)
gitlab-ci: don't bother to configure meson for the version check
meson introspect can get some information from an unconfigured meson.build file. In this case the version info is available without configuring.
-rw-r--r--.gitlab-ci.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f90f49c..9b9c7e0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -172,9 +172,5 @@ check versions are in sync:
script:
- autoreconf -ivf
- ./configure --version | head -n 1 | sed -e 's/libpciaccess configure //' > autotools.version
- - |
- meson setup builddir
- pushd builddir
- meson introspect --projectinfo | jq -r '.version' > ../meson.version
- popd
+ - meson introspect meson.build --projectinfo | jq -r '.version' > meson.version
- diff -u autotools.version meson.version || (echo "ERROR - autotools and meson versions not in sync" && false)