summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: e07d2a9e5633428f194431afe0d2f45c7f3180e8 (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
variables:
  GIT_STRATEGY: none

before_script:
  - test -d mlinux || git clone git@gitlab.multitech.net:mirrors/mlinux.git
  - cd mlinux
  - git pull
  - (test -f env-oe.sh && ./setup.sh --update) || ./setup.sh
  - source env-oe.sh
  - cd layers/meta-mlinux
  - git fetch
  - git checkout $CI_BUILD_REF
  - cd ../..

cache:
  untracked: true

mtcdt_mlinux:
  stage: build
  tags:
    - mlinux
  script:
    - bitbake mlinux-factory-image
  artifacts:
    paths:
      - mlinux/build/tmp/deploy/images/mtcdt/*-upgrade.bin

mtcap_mlinux:
  stage: build
  tags:
    - mlinux
  script:
    - MACHINE=mtcap bitbake mlinux-mtcap-image
  artifacts:
    paths:
      - mlinux/build/tmp/deploy/images/mtcap/*-upgrade.bin