Skip to content

Commit

Permalink
gitlab: include the generated file
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Aug 10, 2020
1 parent a0e6fb9 commit 8a8ac0f
Showing 1 changed file with 1 addition and 152 deletions.
153 changes: 1 addition & 152 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,152 +1 @@
# http://rainboard.laas.fr/project/pinocchio/.gitlab-ci.yml

variables:
GIT_SUBMODULE_STRATEGY: "recursive"
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
CTEST_PARALLEL_LEVEL: 4
CTEST_OUTPUT_ON_FAILURE: 1

cache:
paths:
- ccache

.robotpkg-pinocchio: &robotpkg-pinocchio
except:
- gh-pages
script:
- mkdir -p ccache
- cd /root/robotpkg/math
- git fetch
- git reset --hard origin/master
- cd pinocchio
- make checkout MASTER_REPOSITORY="git ${CI_PROJECT_DIR}/.git"
- make install
- cd $(make show-var VARNAME=WRKSRC)
- make test

#robotpkg-pinocchio-14.04-release:
# <<: *robotpkg-pinocchio
# image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/pinocchio:14.04
#
#robotpkg-pinocchio-14.04-debug:
# <<: *robotpkg-pinocchio
# image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/pinocchio:14.04
# before_script:
# - echo PKG_OPTIONS.pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf

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

robotpkg-pinocchio-16.04-debug:
<<: *robotpkg-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/pinocchio:16.04
before_script:
- echo PKG_OPTIONS.pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf

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

robotpkg-pinocchio-18.04-debug:
<<: *robotpkg-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/pinocchio:18.04
before_script:
- echo PKG_OPTIONS.pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf

.robotpkg-py-pinocchio: &robotpkg-py-pinocchio
except:
- gh-pages
script:
- mkdir -p ccache
- cd /root/robotpkg/math
- git fetch
- git reset --hard origin/master
- cd pinocchio
- make checkout MASTER_REPOSITORY="git ${CI_PROJECT_DIR}/.git"
- cd ..
- cd py-pinocchio
- make checkout MASTER_REPOSITORY="git ${CI_PROJECT_DIR}/.git"
- make install
- cd $(make show-var VARNAME=WRKSRC)
- make test

#robotpkg-py-pinocchio-14.04-release:
# <<: *robotpkg-py-pinocchio
# image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio:14.04
#
#robotpkg-py-pinocchio-py3-14.04-release:
# <<: *robotpkg-py-pinocchio
# image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio-py3:14.04

#robotpkg-py-pinocchio-14.04-debug:
# <<: *robotpkg-py-pinocchio
# image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio:14.04
# before_script:
# - echo PKG_OPTIONS.py-pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf
#
#robotpkg-py-pinocchio-py3-14.04-debug:
# <<: *robotpkg-py-pinocchio
# image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio-py3:14.04
# before_script:
# - echo PKG_OPTIONS.py-pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf

robotpkg-py-pinocchio-16.04-release:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio:16.04

robotpkg-py-pinocchio-py3-16.04-release:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio-py3:16.04

robotpkg-py-pinocchio-16.04-debug:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio:16.04
before_script:
- echo PKG_OPTIONS.py-pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf

robotpkg-py-pinocchio-py3-16.04-debug:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio-py3:16.04
before_script:
- echo PKG_OPTIONS.py-pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf

robotpkg-py-pinocchio-py3-18.04-release:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio-py3:18.04

robotpkg-py-pinocchio-18.04-release:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio:18.04

robotpkg-py-pinocchio-18.04-debug:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio:18.04
before_script:
- echo PKG_OPTIONS.py-pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf

robotpkg-py-pinocchio-py3-18.04-debug:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio-py3:18.04
before_script:
- echo PKG_OPTIONS.py-pinocchio=debug >> /opt/openrobots/etc/robotpkg.conf

doc-coverage:
<<: *robotpkg-py-pinocchio
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio/py-pinocchio:18.04
before_script:
- echo -e 'CXXFLAGS+= --coverage\nLDFLAGS+= --coverage\nPKG_DEFAULT_OPTIONS= debug' >> /opt/openrobots/etc/robotpkg.conf
after_script:
- cd /root/robotpkg/math/py-pinocchio
- cd $(make show-var VARNAME=WRKSRC)
- make doc
- mv doc/doxygen-html ${CI_PROJECT_DIR}
- mkdir -p ${CI_PROJECT_DIR}/coverage/
- gcovr -r . --exclude .*bindings/python --exclude CMakeFiles/
- gcovr -r . --exclude .*bindings/python --exclude CMakeFiles/ --html --html-details -o ${CI_PROJECT_DIR}/coverage/index.html
artifacts:
expire_in: 1 day
paths:
- doxygen-html/
- coverage/
include: http://rainboard.laas.fr/project/pinocchio/.gitlab-ci.yml

0 comments on commit 8a8ac0f

Please sign in to comment.