diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-02-12 09:54:22 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-02-12 14:50:17 +0100 |
commit | 677a5647d4be9892ec933690b07b6cf3b2d81c7d (patch) | |
tree | 72bb06fed933c8c998a40241ec9db0e4c244504b /.gitlab-ci.yml | |
parent | 694e2136eefc2d110f44b26218c03e44a1e88235 (diff) |
gitlab-ci: enable by building all toradex boards
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..b17e7ee64b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,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-kernel + +build_kernel: + stage: build-kernel + 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; |