summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: f04d5f37fde54ef7016ca2722fcabd9a2e31cbc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
image: debian:stretch

variables:
  YBD_base: "/cache/ybd_base"

stages:
  - build-3

before_script:
  - export LC_ALL="C.UTF-8"
  - apt-get update -qq && apt-get install -y -qq git python-dev
  - export CI_YBD_BRANCH=`[[ "$CI_BUILD_REF_NAME" =~ ^staging/fromybd/ ]] && echo -b ${CI_BUILD_REF_NAME#staging/fromybd/}` 
  - git clone https://gitlab.com/baserock/spec.git
  - git clone https://gitlab.com/baserock/ybd.git $CI_YBD_BRANCH
  - cd ybd && ./install_dependencies.sh && cd ..
  - pip install -r spec/requirements.txt

genivi-demo-platform-build-64:
  stage: build-3
  script:
  - ybd/ybd.py genivi/systems/genivi-demo-platform-x86_64-generic.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

ivi-build-64:
  stage: build-3
  script:
  - ybd/ybd.py ivi/systems/ivi-system-x86_64.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

gnome-build-64:
  stage: build-3
  script:
  - ybd/ybd.py gnome/systems/gnome-system-x86_64.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/

weston-qt-build-64:
  stage: build-3
  script:
  - ybd/ybd.py weston/systems/weston-qt5-system-x86_64.morph x86_64
  - ybd/ybd.py systems/initramfs-x86_64.morph x86_64
  only:
  - master
  - /^staging\/.*$/