Commit 0669c8de authored by Daniel Friesel's avatar Daniel Friesel
Browse files

Add ESP8266 build to CI

parent 9e13aa1b
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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: