diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-09-05 16:31:33 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-09-14 11:40:34 +0300 |
commit | e8d1d73638bbc86b8a6efd33eac6c4cc9dba2b61 (patch) | |
tree | 7a82b023f08b713493c5233a2028a8866c334c0a | |
parent | ccd3eb09b482d8a872b270436535c6c20ee4363f (diff) |
Change travis to use meson
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | .travis.yml | 7 |
1 files 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: |