mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-12-25 21:59:08 +01:00
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:
parent
f0c3ed08b9
commit
2d889cead4
2 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue