Commit d8d48377 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳 Committed by Ellenjott [LNJ]

Travis-CI: Use CMake+Ninja for building (#148)

parent 6475cabb
......@@ -16,9 +16,9 @@ cd ../build
export QT_SELECT=qt5
# Build kaidan
cmake .. -DI18N=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
make DESTDIR=../AppDir -j$(nproc) install
cmake .. -GNinja -DI18N=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
cmake --build .
DESTDIR=../AppDir cmake --build . --target install
cd ..
# Copy dependencies into AppDir
......
......@@ -6,5 +6,5 @@ echo "*****************************************"
mkdir ../build; cd ../build/
cmake .. -DI18N=1
make -j$(nproc)
cmake .. -GNinja -DI18N=1
cmake --build .
......@@ -14,6 +14,7 @@ echo deb https://raw.githubusercontent.com/kaidanim/packages/master sid main >>
apt update
apt install cmake \
build-essential \
ninja-build \
zlib1g-dev \
libgloox-dev \
libqt5quick5 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment