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