Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
soth
Commits
28b64f12
Commit
28b64f12
authored
Jul 13, 2018
by
Guilhem Saurel
Browse files
[CI] add .gitlab-ci.yml
parent
b1ef9db2
Pipeline
#971
passed with stage
in 3 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
28b64f12
variables
:
GIT_SUBMODULE_STRATEGY
:
"
recursive"
GIT_DEPTH
:
"
3"
CCACHE_BASEDIR
:
"
${CI_PROJECT_DIR}"
CCACHE_DIR
:
"
${CI_PROJECT_DIR}/ccache"
cache
:
paths
:
-
ccache
.robotpkg-soth
:
&robotpkg-soth
except
:
-
gh-pages
script
:
-
mkdir -p ccache
-
cd /root/robotpkg/wip/soth
-
git pull
-
make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
-
make install
-
cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
-
make test
robotpkg-soth-14.04-release
:
<<
:
*robotpkg-soth
image
:
eur0c.laas.fr:5000/stack-of-tasks/soth/soth:14.04
robotpkg-soth-16.04-release
:
<<
:
*robotpkg-soth
image
:
eur0c.laas.fr:5000/stack-of-tasks/soth/soth:16.04
doc-coverage
:
<<
:
*robotpkg-soth
image
:
eur0c.laas.fr:5000/stack-of-tasks/soth/soth: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/soth
-
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/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment