forked from bacnet-stack/bacnet-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
75 lines (70 loc) · 1.75 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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 stm32f4xx
- make at91sam7s
- stage: ports-avr
os: linux
before_script:
- avr-gcc --version
script:
- make atmega168
- make bdk-atxx4-mstp