summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-08-13 10:21:15 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-08-13 10:21:15 +0200
commitd834666be527c6b59d6e137825b4d13ec7aedab1 (patch)
tree1877299cb31a8294a30b8580784d82cf4056f5dd /.gitlab-ci.yml
parent531e1e0e57be542a63b6793611d33ca89a9ecab9 (diff)
GitLab CI: Add build tests for stm32f446re-nucleo
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d389dd8..e478a41 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,6 +41,19 @@ build_msp430fr5994lp:
- make -B arch=msp430fr5994lp app=ledblink loop=1 timer_s=1
- make -B arch=msp430fr5994lp app=sysinfo
+build_stm32f446re-nucleo:
+ stage: build
+ script:
+ - apt-get update -qy
+ - apt-get install -y build-essential gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib git python3
+ - mkdir -p build
+ - make arch=stm32f446re-nucleo ext/libopencm3/lib/libopencm3_stm32f4.a
+ - make arch=stm32f446re-nucleo app=donothing
+ - find src -name '*.o' -delete
+ - make arch=stm32f446re-nucleo app=ledblink loop=1 timer_s=1
+ - find src -name '*.o' -delete
+ - make arch=stm32f446re-nucleo app=sysinfo
+
test_posix:
stage: test
script: