language: c dist: xenial before_install: - sudo apt-get update -qq - sudo apt-get install -qq build-essential - sudo apt-get install -qq gcc-arm-none-eabi - sudo apt-get install -qq libnewlib-arm-none-eabi - sudo apt-get install -qq gcc-avr avr-libc binutils-avr - sudo apt-get install -qq mingw-w64 - sudo apt-get install -qq libconfig-dev compiler: - gcc - clang jobs: - include: - stage: demos-build os: linux compiler: gcc script: make clean all - stage: demos-win32 os: linux before_script: - export CC=i686-w64-mingw32-gcc - export LD=i686-w64-mingw32-ld - i686-w64-mingw32-gcc --version script: - make win32 - stage: demos-build-cmake os: linux compiler: gcc script: mkdir build && cd build && cmake .. -DBUILD_SHARED_LIBS=ON && cmake --build . --clean-first - stage: gateway-build os: linux compiler: gcc script: make clean gateway - stage: router os: linux compiler: gcc script: make clean router - stage: router-ipv6 os: linux compiler: gcc script: make clean router-ipv6 - stage: router-mstp os: linux compiler: gcc script: make clean router-mstp - stage: mstp-build os: linux compiler: gcc script: make clean mstp - stage: lint os: linux compiler: clang script: make clean lint - stage: ports-arm os: linux before_script: - arm-none-eabi-gcc --version script: - make stm32f10x - make at91sam7s - stage: ports-avr os: linux before_script: - avr-gcc --version script: - make atmega168 - make bdk-atxx4-mstp