ci: Test Meson builds as well

This commit is contained in:
Matthias Klumpp 2016-09-26 04:58:40 +02:00
parent 92e5622bd0
commit 9f5ef15d0a

View File

@ -10,8 +10,21 @@ dub --version
# on the CI system.
#
# Build with dub
dub build --parallel -v
dub test
# Build with Meson
mkdir -p build && cd build
meson ..
ninja
# Run tests
./asgen_test
# Test (Meson) install
DESTDIR=/tmp/install-ninja ninja install
cd ..
# Test getting JS stuff and installing (dub)
make js
make install DESTDIR=/tmp/install-tmp