summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: d963d4dbfd245f7abc44f5963c99776bb6db10aa (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
image: derfnull/multipass-ci:2020.08.13.2

stages:
  - build
  - test

build_posix:
  stage: build
  script:
  - mkdir -p build
  - touch .config
  - ./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/msp430-gcc-full-linux-5.1.2.0/bin:$PATH"
  script:
  - 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
  - sh -x tests/build-msp430fr5969lp

build_msp430fr5994lp:
  stage: build
  before_script:
  - export PATH="/opt/msp430/ti/msp430-gcc-full-linux-5.1.2.0/bin:$PATH"
  script:
  - 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
  - sh -x tests/build-msp430fr5994lp

build_stm32f446re-nucleo:
  stage: build
  script:
  - apt-get update -qy
  - apt-get install -y --no-install-recommends gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib git python3
  - mkdir -p build
  - sh -x tests/build-stm32f446re-nucleo

test_posix:
  stage: test
  script:
  - mkdir -p build
  - touch .config
  - ./mpm arch=posix app=donothing