blob: d389dd8fd87d45eddcb41ad86496f4621681eeae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
image: debian:buster
stages:
- build
- 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_msp430fr5969lp:
stage: build
before_script:
- export PATH="/opt/msp430/ti/gcc/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 zlib1g:i386
- curl -s https://ess.cs.uos.de/static/.gitlab-ci/msp430-gcc-full-linux-4.9.1.tar.xz | tar -C /opt -xJf -
- mkdir -p build
- make -B arch=msp430fr5969lp app=donothing
- make -B arch=msp430fr5969lp app=ledblink loop=1 timer_s=1
- make -B arch=msp430fr5969lp app=sysinfo
build_msp430fr5994lp:
stage: build
before_script:
- export PATH="/opt/msp430/ti/msp430-gcc-full-linux-5.1.2.0/bin:$PATH"
script:
- apt-get update -qy
- apt-get install -y build-essential curl
- curl -s https://ess.cs.uos.de/static/.gitlab-ci/msp430-gcc-full-linux-5.1.2.0.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
|