Skip to content

Commit

Permalink
Merge pull request #15 from nim65s/devel
Browse files Browse the repository at this point in the history
[CI] add .gitlab-ci.yml & badges
  • Loading branch information
Guilhem Saurel authored Jul 25, 2018
2 parents 6cdcde3 + 4ec36db commit 21c6aaf
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 2 deletions.
53 changes: 53 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
variables:
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_DEPTH: "3"
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"

cache:
paths:
- ccache

.robotpkg-tsid: &robotpkg-tsid
except:
- gh-pages
script:
- mkdir -p ccache
- cd /root/robotpkg/wip/tsid
- git pull
- make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
- make install
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
- make test

robotpkg-tsid-14.04-release:
<<: *robotpkg-tsid
image: eur0c.laas.fr:5000/stack-of-tasks/tsid/tsid:14.04

robotpkg-tsid-16.04-release:
<<: *robotpkg-tsid
image: eur0c.laas.fr:5000/stack-of-tasks/tsid/tsid:16.04

robotpkg-tsid-18.04-release:
<<: *robotpkg-tsid
image: eur0c.laas.fr:5000/stack-of-tasks/tsid/tsid:18.04

doc-coverage:
<<: *robotpkg-tsid
image: eur0c.laas.fr:5000/stack-of-tasks/tsid/tsid:16.04
before_script:
- echo -e 'CXXFLAGS+= --coverage\nLDFLAGS+= --coverage\nPKG_DEFAULT_OPTIONS= debug' >> /opt/openrobots/etc/robotpkg.conf
after_script:
- cd /root/robotpkg/wip/tsid
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
- make doc
- mv doc/doxygen-html ${CI_PROJECT_DIR}
- mkdir -p ${CI_PROJECT_DIR}/coverage/
- gcovr -r .
- gcovr -r . --html --html-details -o ${CI_PROJECT_DIR}/coverage/index.html
artifacts:
expire_in: 1 day
paths:
- doxygen-html/
- coverage/

2 changes: 1 addition & 1 deletion .travis
Submodule .travis updated 1 files
+0 −2 before_install
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# TSID - Task Space Inverse Dynamics

[![Building Status](https://travis-ci.org/stack-of-tasks/tsid.svg?branch=master)](https://travis-ci.org/stack-of-tasks/tsid)
[![Pipeline status](https://gepgitlab.laas.fr/stack-of-tasks/tsid/badges/master/pipeline.svg)](https://gepgitlab.laas.fr/stack-of-tasks/tsid/commits/master)
[![Coverage report](https://gepgitlab.laas.fr/stack-of-tasks/tsid/badges/master/coverage.svg?job=doc-coverage)](http://projects.laas.fr/gepetto/doc/stack-of-tasks/tsid/master/coverage/)

TSID is C++ library for optimization-based inverse-dynamics control based on the rigid multi-body dynamics library [Pinocchio](https://github.com/stack-of-tasks/pinocchio).
Take a look at the project [wiki](https://github.com/stack-of-tasks/tsid/wiki) for more details.

Expand Down
2 changes: 1 addition & 1 deletion cmake
Submodule cmake updated 6 files
+10 −9 boost.cmake
+8 −2 dist.cmake
+44 −32 distcheck.cmake
+507 −0 git-archive-all.py
+7 −3 release.cmake
+45 −22 xacro.cmake

0 comments on commit 21c6aaf

Please sign in to comment.