Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
eigenpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
eigenpy
Commits
3d0e3431
Unverified
Commit
3d0e3431
authored
5 years ago
by
Justin Carpentier
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #170 from nim65s/devel
[CI] update gitlab CI
parents
945bb5db
3a0e43d7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+62
-29
62 additions, 29 deletions
.gitlab-ci.yml
with
62 additions
and
29 deletions
.gitlab-ci.yml
+
62
−
29
View file @
3d0e3431
# https://rainboard.laas.fr/project/eigenpy/.gitlab-ci.yml
variables
:
GIT_SUBMODULE_STRATEGY
:
"
recursive"
GIT_DEPTH
:
"
3"
CCACHE_BASEDIR
:
"
${CI_PROJECT_DIR}"
CCACHE_DIR
:
"
${CI_PROJECT_DIR}/ccache"
...
...
@@ -9,25 +9,36 @@ cache:
-
ccache
.robotpkg-py-eigenpy
:
&robotpkg-py-eigenpy
retry
:
max
:
2
when
:
runner_system_failure
except
:
-
gh-pages
script
:
-
mkdir -p ccache
-
cd /root/robotpkg/math
/py-eigenpy
-
cd /root/robotpkg/math
-
git pull
-
make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
-
cd py-eigenpy
-
make checkout MASTER_REPOSITORY="git ${CI_PROJECT_DIR}/.git"
-
make install
-
cd work.$(hostname)/
$(make show-var VARNAME=
DISTNAME)
-
build=$(make show-var VARNAME=CONFIGURE_DIRS); cd
$(make show-var VARNAME=
WRKSRC); cd $build
-
make test
-
make uninstall
robotpkg-py-eigenpy-16.04-debug
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:16.04
before_script
:
-
echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
robotpkg-py-eigenpy-16.04-release
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:16.04
robotpkg-py-eigenpy-
18.04-release
:
robotpkg-py-eigenpy-
py3-16.04-debug
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:18.04
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:16.04
before_script
:
-
echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
robotpkg-py-eigenpy-py3-16.04-release
:
<<
:
*robotpkg-py-eigenpy
...
...
@@ -37,47 +48,69 @@ robotpkg-py-eigenpy-py3-18.04-release:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:18.04
robotpkg-py-eigenpy-14.04-release
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:14.04
robotpkg-py-eigenpy-14.04-debug
:
robotpkg-py-eigenpy-py3-18.04-debug
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:1
4
.04
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy
-py3
:1
8
.04
before_script
:
-
echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
robotpkg-py-eigenpy-
py3-14
.04-release
:
robotpkg-py-eigenpy-
18
.04-release
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy
-py3
:1
4
.04
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:1
8
.04
robotpkg-py-eigenpy-
py3-14
.04-debug
:
robotpkg-py-eigenpy-
18
.04-debug
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy
-py3
:1
4
.04
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:1
8
.04
before_script
:
-
echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
robotpkg-py-eigenpy-
16.04
-debug
:
robotpkg-py-eigenpy-
stretch
-debug
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:
16.04
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:
stretch
before_script
:
-
echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
robotpkg-py-eigenpy-
py3-16.04-debug
:
robotpkg-py-eigenpy-
stretch-release
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:16.04
before_script
:
-
echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:stretch
robotpkg-py-eigenpy-
18.04-debug
:
robotpkg-py-eigenpy-
py3-stretch-release
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:18.04
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:stretch
robotpkg-py-eigenpy-py3-stretch-debug
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:stretch
before_script
:
-
echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
robotpkg-py-eigenpy-py3-18.04-debug
:
doc-coverage
:
<<
:
*robotpkg-py-eigenpy
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy
-py3
:18.04
image
:
memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:18.04
before_script
:
-
echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
-
echo -e 'CXXFLAGS+= --coverage\nLDFLAGS+= --coverage\nPKG_DEFAULT_OPTIONS= debug' >> /opt/openrobots/etc/robotpkg.conf
after_script
:
-
cd /root/robotpkg/math/py-eigenpy
-
build=$(make show-var VARNAME=CONFIGURE_DIRS); cd $(make show-var VARNAME=WRKSRC); cd $build
-
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/
format
:
allow_failure
:
true
image
:
gepetto/linters
retry
:
max
:
2
when
:
runner_system_failure
before_script
:
-
test -f /builds/setup.cfg || ln -s /root/setup.cfg /builds
-
test -f /builds/.clang-format || ln -s /root/.clang-format /builds
script
:
-
check-clang-format.sh
-
flake8 .
-
yapf -dr .
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment