Commit 994d40a4 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[gitlab-ci] Update gitlab-ci.yml

parent a8707e09
Pipeline #2952 failed with stage
in 5 minutes and 6 seconds
# http://rainboard.laas.fr/project/sot-talos/.gitlab-ci.yml
variables:
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_DEPTH: "3"
NAMESPACE: stack-of-tasks
PROJECT: sot-talos
REGISTRY: eur0c.laas.fr:5000
IMAGE: "${REGISTRY}/${NAMESPACE}/${PROJECT}"
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
CTEST_PARALLEL_LEVEL: 4
cache:
paths:
- ccache
.robotpkg-sot-talos: &robotpkg-sot-talos
variables:
ROBOTPKG: sot-talos
CATEGORY: wip
except:
- gh-pages
before_script:
- mkdir -p ccache
script:
- cd /root/robotpkg/${CATEGORY}/${ROBOTPKG}
- mkdir -p ccache
- cd /root/robotpkg/wip
- git pull
- make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
- cd sot-talos
- make checkout MASTER_REPOSITORY="git ${CI_PROJECT_DIR}/.git"
- /ci_deps.sh
- make install
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
- make check
- make doc
- mv doc/doxygen-html ${CI_PROJECT_DIR}
- cd $(make show-var VARNAME=WRKSRC)
- make test
robotpkg-sot-talos-18.04:
robotpkg-sot-talos-14.04-release:
<<: *robotpkg-sot-talos
image: ${IMAGE}:18.04
image: eur0c.laas.fr:5000/stack-of-tasks/sot-talos/sot-talos:14.04
robotpkg-sot-talos-14.04-debug:
<<: *robotpkg-sot-talos
image: eur0c.laas.fr:5000/stack-of-tasks/sot-talos/sot-talos:14.04
before_script:
- echo PKG_OPTIONS.sot-talos=debug >> /opt/openrobots/etc/robotpkg.conf
robotpkg-sot-talos-17.10:
robotpkg-sot-talos-16.04-release:
<<: *robotpkg-sot-talos
image: ${IMAGE}:17.10
image: eur0c.laas.fr:5000/stack-of-tasks/sot-talos/sot-talos:16.04
robotpkg-sot-talos-16.04-debug:
<<: *robotpkg-sot-talos
image: eur0c.laas.fr:5000/stack-of-tasks/sot-talos/sot-talos:16.04
before_script:
- echo PKG_OPTIONS.sot-talos=debug >> /opt/openrobots/etc/robotpkg.conf
robotpkg-sot-talos-16.04:
doc-coverage:
<<: *robotpkg-sot-talos
image: ${IMAGE}:16.04
image: eur0c.laas.fr:5000/stack-of-tasks/sot-talos/sot-talos: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/sot-talos
- /ci_deps.sh
- cd $(make show-var VARNAME=WRKSRC)
- 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/
robotpkg-sot-talos-14.04:
<<: *robotpkg-sot-talos
image: ${IMAGE}:14.04
robotpkg-sot-talos-dubnium:
<<: *robotpkg-sot-talos
image: ${IMAGE}:dubnium
- coverage/
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