summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 801016b5f5a186b73129b83c1af233aa9041e63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
variables:
# uncomment for the pipeline debug purpose
# CI_DEBUG_TRACE: "true"
  CI_IMAGE: gitlab.int.toradex.com:4567/philippe.schenker/linux-toradex/ci-kernel-builder:latest
  DOCKER_HOST: tcp://docker:2375
  DOCKER_DRIVER: overlay2
  DOCKER_TLS_CERTDIR: ""

stages:
  - build-uboot

build_u-boot:
  stage: build-uboot
  image: $CI_IMAGE
  variables:
    GIT_STRATEGY: fetch
    GIT_DEPTH: "1"
  script: |
    tools/buildman/buildman toradex || ret=$?
    if [[ $ret -ne 0 && $ret -ne 129 ]]; then
      tools/buildman/buildman -sdeP ${BUILDMAN};
      exit $ret;
    fi;