summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-09-07 15:59:31 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-09-07 15:59:31 +0200
commit0669c8de2fb6cc193ef0c85039e54487e430cf88 (patch)
tree4e7039a2e5bd24fbc8f286c70891bb712b896189
parent9e13aa1b7f2a213e62d786d9b96ccb2b6042a8f6 (diff)
Add ESP8266 build to CI
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 93469ad..c479407 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,18 @@ stages:
- build
- test
+build_esp8266:
+ stage: build
+ before_script:
+ - export TOOLCHAIN_BASE=/opt/xtensa-lx106-elf/bin
+ - export SDK_BASE=/opt/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr
+ script:
+ - curl -s https://ess.cs.uos.de/static/.gitlab-ci/xtensa-lx106-elf.tar.xz | tar -C /opt -xJf -
+ - mkdir -p build
+ - make -B arch=esp8266 app=donothing
+ - make -B arch=esp8266 app=ledblink loop=1 timer_s=1
+ - make -B arch=esp8266 app=sysinfo
+
build_posix:
stage: build
script: