summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBrandon Bayer <bbayer@multitech.com>2016-12-09 15:16:08 -0600
committerBrandon Bayer <bbayer@multitech.com>2016-12-12 15:26:13 -0600
commit1d0f3f0697733eafa8f113d585187ef02b1b56f7 (patch)
treec4a34587e1d7f20798ecb3b37f60235300bd379d /.gitlab-ci.yml
parent25f47c4cc78c4778acff31c0ba2305f18367cc4b (diff)
downloadmeta-mlinux-atmel-1d0f3f0697733eafa8f113d585187ef02b1b56f7.tar.gz
meta-mlinux-atmel-1d0f3f0697733eafa8f113d585187ef02b1b56f7.tar.bz2
meta-mlinux-atmel-1d0f3f0697733eafa8f113d585187ef02b1b56f7.zip
chore: add .gitlab-ci.yml
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..ba2186a
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,35 @@
+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 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