From e8d1d73638bbc86b8a6efd33eac6c4cc9dba2b61 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Sat, 5 Sep 2020 16:31:33 +0300 Subject: Change travis to use meson Signed-off-by: Tomi Valkeinen --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2ef8d28..a487fc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,8 @@ addons: - libx11-dev - libgbm-dev - libevdev-dev + - meson + - ninja-build # Need MYCC and MYCXX as travis overwrites CC and CXX @@ -83,9 +85,8 @@ jobs: # Build steps script: - - mkdir build - - cd build - - CC=$MYCC CXX=$MYCXX cmake -DTREAT_WARNINGS_AS_ERRORS=1 -DKMSXX_ENABLE_KMSCUBE=1 -DKMSXX_ENABLE_PYTHON=1 .. && make VERBOSE=1 + - CC=$MYCC CXX=$MYCXX meson -Dkmscube=true -Dpykms=enabled -Dwerror=true -Db_lto=true build + - ninja -v -C build notifications: email: -- cgit v1.2.3