File tree 1 file changed +53
-0
lines changed
1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ variables :
2
+ GIT_SUBMODULE_STRATEGY : " recursive"
3
+ GIT_DEPTH : " 3"
4
+ CCACHE_BASEDIR : " ${CI_PROJECT_DIR}"
5
+ CCACHE_DIR : " ${CI_PROJECT_DIR}/ccache"
6
+
7
+ cache :
8
+ paths :
9
+ - ccache
10
+
11
+ .robotpkg-sot-core-v3 : &robotpkg-sot-core-v3
12
+ except :
13
+ - gh-pages
14
+ script :
15
+ - mkdir -p ccache
16
+ - cd /root/robotpkg/wip/sot-core-v3
17
+ - git pull
18
+ - make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
19
+ - make install
20
+ - cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
21
+ - make test
22
+
23
+ robotpkg-sot-core-v3-14.04-release :
24
+ << : *robotpkg-sot-core-v3
25
+ image : eur0c.laas.fr:5000/stack-of-tasks/sot-core/sot-core-v3:14.04
26
+
27
+ robotpkg-sot-core-v3-16.04-release :
28
+ << : *robotpkg-sot-core-v3
29
+ image : eur0c.laas.fr:5000/stack-of-tasks/sot-core/sot-core-v3:16.04
30
+
31
+ robotpkg-sot-core-v3-18.04-release :
32
+ << : *robotpkg-sot-core-v3
33
+ image : eur0c.laas.fr:5000/stack-of-tasks/sot-core/sot-core-v3:18.04
34
+
35
+ doc-coverage :
36
+ << : *robotpkg-sot-core-v3
37
+ image : eur0c.laas.fr:5000/stack-of-tasks/sot-core/sot-core-v3:16.04
38
+ before_script :
39
+ - echo -e 'CXXFLAGS+= --coverage\nLDFLAGS+= --coverage\nPKG_DEFAULT_OPTIONS= debug' >> /opt/openrobots/etc/robotpkg.conf
40
+ after_script :
41
+ - cd /root/robotpkg/wip/sot-core-v3
42
+ - cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
43
+ - make doc
44
+ - mv doc/doxygen-html ${CI_PROJECT_DIR}
45
+ - mkdir -p ${CI_PROJECT_DIR}/coverage/
46
+ - gcovr -r .
47
+ - gcovr -r . --html --html-details -o ${CI_PROJECT_DIR}/coverage/index.html
48
+ artifacts :
49
+ expire_in : 1 day
50
+ paths :
51
+ - doxygen-html/
52
+ - coverage/
53
+
You can’t perform that action at this time.
0 commit comments