Commit 52e287a8 authored by Omer Katz's avatar Omer Katz

Fail the build early if cmake cannot generate the Makefiles.

parent 0cc5974b
......@@ -84,6 +84,8 @@ before_script:
- ccache -s
- sed -i "s/-march=native//" CMakeLists.txt
- mkdir build
script:
- >
eval "ARCH_FLAGS=\${ARCH_FLAGS_${ARCH}}" ;
(cd build && cmake
......@@ -93,8 +95,6 @@ before_script:
-DCMAKE_CXX_FLAGS="$ARCH_FLAGS $GCOV_FLAGS"
-DCMAKE_EXE_LINKER_FLAGS=$GCOV_FLAGS
..)
script:
- cd build
- make tests
- make examples
......
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