Avoids: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Note that due to a problem with mingw64-meson script is not possible to remove that warning for Windows builds. Signed-off-by: Frediano Ziglio <freddy77@xxxxxxxxx> --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 71c7bab2..cbf4319c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,11 +32,11 @@ fedora: before_script: - dnf install -y $DEPS_COMMON $DEPS_FEDORA - git clone ${CI_REPOSITORY_URL/spice-gtk/spice-protocol} - - meson --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror + - meson setup --buildtype=release spice-protocol build-spice-protocol --prefix=/usr --werror - ninja -C build-spice-protocol install script: - - meson --buildtype=release build-default --werror + - meson setup --buildtype=release build-default --werror # Meson does not update submodules recursively - git submodule update --init --recursive # this fix an issue with Meson dist @@ -46,7 +46,7 @@ fedora: - ninja -C build-default - ninja -C build-default test - - meson --buildtype=release build-feat-disabled -Dauto_features=disabled --werror + - meson setup --buildtype=release build-feat-disabled -Dauto_features=disabled --werror - ninja -C build-feat-disabled - ninja -C build-feat-disabled test -- 2.41.0