.gitlab-ci.yml 2.63 KB
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
variables:
  GIT_SUBMODULE_STRATEGY: "recursive"
  GIT_DEPTH: "3"
  CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
  CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"

cache:
  paths:
    - ccache

.robotpkg-py-eigenpy: &robotpkg-py-eigenpy
  except:
    - gh-pages
  script:
Guilhem Saurel's avatar
Guilhem Saurel committed
15
    - mkdir -p ccache
Guilhem Saurel's avatar
Guilhem Saurel committed
16 17 18 19 20
    - cd /root/robotpkg/math/py-eigenpy
    - git pull
    - make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
    - make install
    - cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
Justin Carpentier's avatar
Justin Carpentier committed
21
    - make test
Justin Carpentier's avatar
Justin Carpentier committed
22
    - make uninstall
Guilhem Saurel's avatar
Guilhem Saurel committed
23

Guilhem Saurel's avatar
Guilhem Saurel committed
24
robotpkg-py-eigenpy-16.04-release:
Guilhem Saurel's avatar
Guilhem Saurel committed
25
  <<: *robotpkg-py-eigenpy
26
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:16.04
Guilhem Saurel's avatar
Guilhem Saurel committed
27

Guilhem Saurel's avatar
Guilhem Saurel committed
28
robotpkg-py-eigenpy-18.04-release:
Guilhem Saurel's avatar
Guilhem Saurel committed
29
  <<: *robotpkg-py-eigenpy
30
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:18.04
Guilhem Saurel's avatar
Guilhem Saurel committed
31

Guilhem Saurel's avatar
Guilhem Saurel committed
32 33
robotpkg-py-eigenpy-py3-16.04-release:
  <<: *robotpkg-py-eigenpy
34
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:16.04
Guilhem Saurel's avatar
Guilhem Saurel committed
35 36 37

robotpkg-py-eigenpy-py3-18.04-release:
  <<: *robotpkg-py-eigenpy
38
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:18.04
Guilhem Saurel's avatar
Guilhem Saurel committed
39 40 41

robotpkg-py-eigenpy-14.04-release:
  <<: *robotpkg-py-eigenpy
42
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:14.04
Guilhem Saurel's avatar
Guilhem Saurel committed
43 44 45

robotpkg-py-eigenpy-14.04-debug:
  <<: *robotpkg-py-eigenpy
46
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:14.04
Guilhem Saurel's avatar
Guilhem Saurel committed
47 48 49 50
  before_script:
    - echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf

robotpkg-py-eigenpy-py3-14.04-release:
Guilhem Saurel's avatar
Guilhem Saurel committed
51
  <<: *robotpkg-py-eigenpy
52
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:14.04
Guilhem Saurel's avatar
Guilhem Saurel committed
53

Guilhem Saurel's avatar
Guilhem Saurel committed
54 55
robotpkg-py-eigenpy-py3-14.04-debug:
  <<: *robotpkg-py-eigenpy
56
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:14.04
Guilhem Saurel's avatar
Guilhem Saurel committed
57 58 59 60 61
  before_script:
    - echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf

robotpkg-py-eigenpy-16.04-debug:
  <<: *robotpkg-py-eigenpy
62
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:16.04
Guilhem Saurel's avatar
Guilhem Saurel committed
63 64
  before_script:
    - echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
Guilhem Saurel's avatar
Guilhem Saurel committed
65

Guilhem Saurel's avatar
Guilhem Saurel committed
66
robotpkg-py-eigenpy-py3-16.04-debug:
Guilhem Saurel's avatar
Guilhem Saurel committed
67
  <<: *robotpkg-py-eigenpy
68
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:16.04
Guilhem Saurel's avatar
Guilhem Saurel committed
69 70
  before_script:
    - echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf
Guilhem Saurel's avatar
Guilhem Saurel committed
71

Guilhem Saurel's avatar
Guilhem Saurel committed
72 73
robotpkg-py-eigenpy-18.04-debug:
  <<: *robotpkg-py-eigenpy
74
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy:18.04
Guilhem Saurel's avatar
Guilhem Saurel committed
75 76 77 78
  before_script:
    - echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf

robotpkg-py-eigenpy-py3-18.04-debug:
Guilhem Saurel's avatar
Guilhem Saurel committed
79
  <<: *robotpkg-py-eigenpy
80
  image: memmos.laas.fr:5000/stack-of-tasks/eigenpy/py-eigenpy-py3:18.04
Guilhem Saurel's avatar
Guilhem Saurel committed
81 82 83
  before_script:
    - echo PKG_OPTIONS.py-eigenpy=debug >> /opt/openrobots/etc/robotpkg.conf