4a916468c6
* Add BAC_ROUTING compile definition * Reorder cmake * Fix OpenSSL support: support both 1.0 and 1.1t pus * Explicitly export symbols, hidden by default * Build shared libraries on travis using cmake * Learn Makefile about static library * Fix build using mingw with cmake * Do not cleanup twice or after potential free
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
language: c
|
|
|
|
dist: xenial
|
|
|
|
before_install:
|
|
- sudo apt-get update
|
|
- sudo apt-get -y install build-essential
|
|
- sudo apt-get -y install gcc-arm-none-eabi
|
|
- sudo apt-get -y install libnewlib-arm-none-eabi
|
|
- sudo apt-get -y install gcc-avr avr-libc binutils-avr
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
jobs:
|
|
- include:
|
|
- stage: demos-build
|
|
os: linux
|
|
compiler: gcc
|
|
script: make clean all
|
|
- 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: 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
|
|
|