Commit f87ab7e0 authored by Michal Kravcenko's avatar Michal Kravcenko
Browse files

FIX: 'ubuntu_boost_system' was incorrectly compiling a local copy of boost...

FIX: 'ubuntu_boost_system' was incorrectly compiling a local copy of boost which made this continuous integration test pointless
parent 3e0aaa6a
......@@ -30,14 +30,10 @@ ubuntu_boost_system:
- git clone https://github.com/ArashPartow/exprtk.git
- cp exprtk/exprtk.hpp /usr/include
- export TERM=xterm
- cd build_scripts/linux
- ./linux_gcc_build_x64_debug.sh
- cd ../..
- ./build.sh
script:
- cd build_scripts/linux
- './linux_run_tests.sh'
- cd ../..
- './ci_run_tests.sh'
# Latest Ubuntu with Boost and Exprtk
# compiled locally as submodules
......
......@@ -25,11 +25,5 @@ fi
$(pwd)/clean.sh
#
# For ExprTk download
#
git submodule init
git submodule update --remote
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_COMPILER=${CXX_COMPILER} -DCMAKE_C_COMPILER=${C_COMPILER} -DBUILD_TESTS=${BUILD_TESTS} -DBUILD_EXAMPLES=${BUILD_EXAMPLES} -DBUILD_LIB=${BUILD_LIB} -DLIB4NEURO_DIR=$(pwd)/build/lib .
cmake --build . --config ${BUILD_TYPE} -- -j${N_CORES} && (tput setaf 2; echo "Build complete."; echo "For examples have a look at the folder build/bin/examples."; tput sgr 0; ) || (tput setaf 1; echo "Build finished with errors!"; tput sgr 0; exit 1;)
cmake --build . --config ${BUILD_TYPE} -- -j${N_CORES} && (tput setaf 2; echo "Build complete."; echo "For examples have a look at the folder build/examples/bin."; tput sgr 0; ) || (tput setaf 1; echo "Build finished with errors!"; tput sgr 0; exit 1;)
#!/bin/sh
##############
# UNIT TESTS #
##############
for f in build/unit-tests/bin/*_test; do
${f} || exit -1
done
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