Permalink
Browse files

Merge pull request #322 from dkouzoup/shared_libs

Green build 🥇
  • Loading branch information...
giaf committed Aug 22, 2018
2 parents d29772c + 06e8dc3 commit 9a4bd734ebd952e0adf1a3ee3c8249d7f61fb600
Showing with 11 additions and 7 deletions.
  1. +6 −2 .codecov.yml
  2. +3 −3 .travis.yml
  3. +1 −1 external/blasfeo
  4. +1 −1 external/hpipm
View
@@ -8,8 +8,12 @@ coverage:
range: "70...100"
status:
project: yes
patch: yes
project:
default:
target: 0%
patch:
default:
target: 0%
changes: no
parsers:
View
@@ -81,20 +81,20 @@ install:
script:
- cmake -E make_directory build
- export RELEASES_PREFIX="$(pwd)"
- cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/local -DMatlab_ROOT_DIR=$MATLAB_ROOT -DSWIG_MATLAB=$SWIG_MATLAB -DSWIG_PYTHON=ON ..
- cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/local -DMatlab_ROOT_DIR=$MATLAB_ROOT -DSWIG_MATLAB=$SWIG_MATLAB -DSWIG_PYTHON=ON -DBUILD_SHARED_LIBS=ON ..
- cmake --build build --target install
- tar -zcf acados.tar.gz ${HOME}/local/lib
- cmake --build build --target lint
- cmake --build build
- cmake -E chdir build ctest --output-on-failure
- rm -r -f build
- cmake -E make_directory build
- cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTS=ON -DSWIG_MATLAB=$SWIG_MATLAB -DMatlab_ROOT_DIR=$MATLAB_ROOT -DSWIG_PYTHON=$SWIG_PYTHON -DCOVERAGE=$COVERAGE -DCMAKE_INSTALL_PREFIX=$HOME/local ..
- cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTS=ON -DSWIG_MATLAB=$SWIG_MATLAB -DMatlab_ROOT_DIR=$MATLAB_ROOT -DSWIG_PYTHON=$SWIG_PYTHON -DBUILD_SHARED_LIBS=ON -DCOVERAGE=$COVERAGE -DCMAKE_INSTALL_PREFIX=$HOME/local ..
- export CXX="$CXX -std=c++11" # needed for octave
- cmake --build build
- cmake -E chdir build ctest --output-on-failure
- cmake --build build --target install
- python -c "import acados" # check installation
# - python -c "import acados" # check installation
- cmake --build build --target acados_coverage || echo "Coverage report not generated"
deploy:
Submodule blasfeo updated 232 files
Submodule hpipm updated 210 files

0 comments on commit 9a4bd73

Please sign in to comment.