summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-06-21 11:37:37 -0700
committerDylan Baker <dylan@pnwbakers.com>2023-06-21 11:37:37 -0700
commitabd305d0fe29019bb3fa3b49623c68b23f4ecf3f (patch)
tree8fbe7d7acecc2542ce65ce96cfd4554f9f8f8de3
parent8980a39004b10298a7db1f1b0b711a19e8b73aee (diff)
gitlab-ci: use `meson setup`
Meson without the `setup` verb is deprecated as ambiguous.
-rw-r--r--.gitlab-ci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 288ff60..f90f49c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,7 +94,7 @@ meson:
- MESON_OPTIONS: ['-Dzlib=disabled', '-Dzlib=enabled']
script:
- mkdir -p ../_inst
- - meson builddir --prefix="$PWD/../_inst" -Dwarning_level=3 $MESON_OPTIONS
+ - meson setup builddir --prefix="$PWD/../_inst" -Dwarning_level=3 $MESON_OPTIONS
- meson configure builddir
- ninja -C builddir test
- ninja -C builddir install
@@ -128,7 +128,7 @@ meson from tarball:
- mkdir -p _tarball_build
- tar xf libpciaccess-*.tar.gz -C _tarball_build
- pushd _tarball_build/libpciaccess-*
- - meson builddir
+ - meson setup builddir
- meson configure builddir
- ninja -C builddir test
needs:
@@ -152,7 +152,7 @@ compare meson and autotools:
# 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 setup builddir
- meson configure builddir --prefix=$PWD/_inst
- ninja -C builddir install
- ls -R _inst > _meson_inst.ls
@@ -173,7 +173,7 @@ check versions are in sync:
- autoreconf -ivf
- ./configure --version | head -n 1 | sed -e 's/libpciaccess configure //' > autotools.version
- |
- meson builddir
+ meson setup builddir
pushd builddir
meson introspect --projectinfo | jq -r '.version' > ../meson.version
popd