#!/bin/sh

set -e

mkdir build && cd build/
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=1 .. && make install
make tests
CTEST_OUTPUT_ON_FAILURE=1 make test
