.gitlab-ci.yml 1.19 KB
Newer Older
1
variables:
2
3
4
5
6
7
  GIT_SUBMODULE_STRATEGY: "recursive"
  GIT_DEPTH: "3"
  NAMESPACE: stack-of-tasks
  PROJECT: pinocchio
  REGISTRY: eur0c.laas.fr:5000
  IMAGE: "${REGISTRY}/${NAMESPACE}/${PROJECT}"
jcarpent's avatar
jcarpent committed
8
9
  CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
  CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
Guilhem Saurel's avatar
Guilhem Saurel committed
10
11
12

cache:
  paths:
jcarpent's avatar
jcarpent committed
13
    - ccache
Guilhem Saurel's avatar
Guilhem Saurel committed
14

15

16
17
18
.robotpkg-pinocchio: &robotpkg-pinocchio
  variables:
    ROBOTPKG: pinocchio
jcarpent's avatar
jcarpent committed
19
20
21
    CATEGORY: math
  except:
    - gh-pages
22
  before_script:
jcarpent's avatar
jcarpent committed
23
    - mkdir -p ccache
24
25
26
  script:
    - cd /root/robotpkg/${CATEGORY}/${ROBOTPKG}
    - git pull
jcarpent's avatar
jcarpent committed
27
    - make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
28
    - make install
jcarpent's avatar
jcarpent committed
29
    - cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
30
    - make check
31
    - make doc
jcarpent's avatar
jcarpent committed
32
    - mv doc/doxygen-html ${CI_PROJECT_DIR}
33
34


35
36
37
robotpkg-pinocchio-14.04:
  <<: *robotpkg-pinocchio
  image: ${IMAGE}:14.04
Guilhem Saurel's avatar
Guilhem Saurel committed
38

jcarpent's avatar
jcarpent committed
39

40
41
42
#robotpkg-pinocchio-18.04:
#  <<: *robotpkg-pinocchio
#  image: ${IMAGE}:18.04
jcarpent's avatar
jcarpent committed
43
44


45
46
47
robotpkg-pinocchio-16.04:
  <<: *robotpkg-pinocchio
  image: ${IMAGE}:16.04
jcarpent's avatar
jcarpent committed
48
49
50
51
52
  artifacts:
    expire_in: 1 day
    paths:
      - doxygen-html/

Guilhem Saurel's avatar
Guilhem Saurel committed
53

54
55
56
robotpkg-pinocchio-17.10:
  <<: *robotpkg-pinocchio
  image: ${IMAGE}:17.10
Guilhem Saurel's avatar
Guilhem Saurel committed
57

jcarpent's avatar
jcarpent committed
58

59
60
61
robotpkg-pinocchio-dubnium:
  <<: *robotpkg-pinocchio
  image: ${IMAGE}:dubnium
jcarpent's avatar
jcarpent committed
62
63
64