build: stop using meson's implicit setup command

It will be deprecated in the next release, 0.64.0. See
https://github.com/mesonbuild/meson/pull/10701

Signed-off-by: Andrea Pappacoda <andrea@pappacoda.it>
This commit is contained in:
Andrea Pappacoda 2022-08-23 23:14:31 +02:00
parent f0c3ed08b9
commit 2d889cead4
No known key found for this signature in database
GPG key ID: 4A9208A2455077A7
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ build-gcc:
extends: .fdo.distribution-image@alpine
stage: "Build and test"
script:
- CC=gcc meson build/ --fatal-meson-warnings -Dwerror=true -Db_coverage=true
- CC=gcc meson setup build/ --fatal-meson-warnings -Dwerror=true -Db_coverage=true
- ninja -C build/
- ninja -C build/ test
- ninja -C build/ -j1 coverage-xml coverage-html
@ -73,7 +73,7 @@ build-clang:
extends: .fdo.distribution-image@alpine
stage: "Build and test"
script:
- CC=clang meson build/ --fatal-meson-warnings -Dwerror=true -Db_sanitize=address,undefined -Db_lundef=false
- CC=clang meson setup build/ --fatal-meson-warnings -Dwerror=true -Db_sanitize=address,undefined -Db_lundef=false
- ninja -C build/
- ninja -C build/ test
artifacts:

View file

@ -22,7 +22,7 @@ follows the [freedesktop.org Contributor Covenant].
libdisplay-info is built using [Meson]. It has no dependencies.
meson build/
meson setup build/
ninja -C build/
## Testing