summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-08-27 13:22:54 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-08-27 13:22:54 +0200
commite42ec1f5357c881fbf24a4127e11e4020b46c51c (patch)
tree94a6906a21d7d49f1bbad19ef3aed9c19413fd20
parentd4657aad955bc07118e3798f5caf81f4ce32353e (diff)
Add MSP430FR5994 build tests
-rw-r--r--.gitlab-ci.yml27
1 files changed, 25 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1479e88..9d70197 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,37 @@
image: debian:buster
stages:
+ - build
- test
-test:
- stage: test
+build_posix:
+ stage: build
script:
- apt-get update -qy
- apt-get install -y build-essential
- mkdir -p build
+ - ./mp arch=posix app=donothing
- ./mp arch=posix app=ledblink loop=1 timer_s=1
- ./mp arch=posix app=sysinfo
+
+build_msp430fr5994lp:
+ stage: build
+ before_script:
+ - export PATH="/opt/msp430/ti/msp430-gcc-full-linux-5.0.0.36/bin:$PATH"
+ script:
+ - dpkg --add-architecture i386
+ - apt-get update -qy
+ - apt-get install -y build-essential curl libc6:i386 libgcc1:i386 libstdc++6:i386
+ - curl -s https://ess.cs.uos.de/static/.gitlab-ci/msp430-gcc-full-linux-5.0.0.36.tar.xz | tar -C /opt -xJf -
+ - mkdir -p build
+ - make -B arch=msp430fr5994lp app=donothing
+ - make -B arch=msp430fr5994lp app=ledblink loop=1 timer_s=1
+ - make -B arch=msp430fr5994lp app=sysinfo
+
+test_posix:
+ stage: test
+ script:
+ - apt-get update -qy
+ - apt-get install -y build-essential
+ - mkdir -p build
- ./mpm arch=posix app=donothing