Files
bacnet_stack/.travis.yml
T
Steve Karg b159402647 Feature/enable mingw build (#62)
* enabled mingw win32 build in travis

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
2020-03-27 13:30:16 -05:00

62 lines
1.4 KiB
YAML

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
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: 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