kepka/.travis/build.sh

7 lines
204 B
Bash
Executable File

#!/bin/bash
cd /repo/_build_
cmake -G Ninja -DTRAVIS_CI=YES -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTING=ON .. || exit 1
cmake --build . || exit 1
ASAN_OPTIONS=alloc_dealloc_mismatch=0 ctest || exit 1