ci: Use meson setup command

Using `meson build` without `setup` have been deprecated, fix warning
message:
  'WARNING: Running the setup command as `meson [options]` instead of
  `meson setup [options]` is ambiguous and deprecated.
This commit is contained in:
Hugo Machet 2023-01-06 11:00:45 +01:00 committed by Isaac Freund
parent 86ac0ffd0b
commit 088622ec50
3 changed files with 6 additions and 6 deletions

View File

@ -28,13 +28,13 @@ tasks:
- install_deps: | - install_deps: |
cd wayland cd wayland
git checkout 1.21.0 git checkout 1.21.0
meson build -Ddocumentation=false -Dtests=false --prefix /usr meson setup build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install sudo ninja -C build install
cd .. cd ..
cd wlroots cd wlroots
git checkout 0.16.0 git checkout 0.16.0
meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \ meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
-Dwerror=false -Db_ndebug=false -Dxcb-errors=disabled --prefix /usr -Dwerror=false -Db_ndebug=false -Dxcb-errors=disabled --prefix /usr
sudo ninja -C build/ install sudo ninja -C build/ install
cd .. cd ..

View File

@ -26,13 +26,13 @@ tasks:
- install_deps: | - install_deps: |
cd wayland cd wayland
git checkout 1.21.0 git checkout 1.21.0
meson build -Ddocumentation=false -Dtests=false --prefix /usr meson setup build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install sudo ninja -C build install
cd .. cd ..
cd wlroots cd wlroots
git checkout 0.16.0 git checkout 0.16.0
meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \ meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
-Dwerror=false -Db_ndebug=false --prefix /usr -Dwerror=false -Db_ndebug=false --prefix /usr
sudo ninja -C build/ install sudo ninja -C build/ install
cd .. cd ..

View File

@ -30,13 +30,13 @@ tasks:
- install_deps: | - install_deps: |
cd wayland cd wayland
git checkout 1.21.0 git checkout 1.21.0
meson build -Ddocumentation=false -Dtests=false --prefix /usr meson setup build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install sudo ninja -C build install
cd .. cd ..
cd wlroots cd wlroots
git checkout 0.16.0 git checkout 0.16.0
meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \ meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
-Dwerror=false -Db_ndebug=false --prefix /usr -Dwerror=false -Db_ndebug=false --prefix /usr
sudo ninja -C build/ install sudo ninja -C build/ install
cd .. cd ..