Skip to content
Snippets Groups Projects
Commit e42ec1f5 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

Add MSP430FR5994 build tests

parent d4657aad
No related branches found
No related tags found
No related merge requests found
image: debian:buster image: debian:buster
stages: stages:
- build
- test - test
test: build_posix:
stage: test stage: build
script: script:
- apt-get update -qy - apt-get update -qy
- apt-get install -y build-essential - apt-get install -y build-essential
- mkdir -p build - mkdir -p build
- ./mp arch=posix app=donothing
- ./mp arch=posix app=ledblink loop=1 timer_s=1 - ./mp arch=posix app=ledblink loop=1 timer_s=1
- ./mp arch=posix app=sysinfo - ./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 - ./mpm arch=posix app=donothing
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment