-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
52 lines (45 loc) · 1.12 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
language: c
os: linux
dist: bionic
jobs:
include:
- os: linux
compiler: "gcc-7"
env: BUILD='Debug' CC=gcc-7 CXX=g++-7 OPT=-DLIBJ1939_BUILD_EXAMPLE=1
dist: bionic
addons: *gcc7
- os: linux
compiler: "gcc-7"
env: BUILD='Release' CC=gcc-7 CXX=g++-7 OPT=-DLIBJ1939_BUILD_EXAMPLE=1
dist: bionic
addons: *gcc7
- os: linux
arch: arm64
compiler: "gcc"
env: BUILD='Release' OPT=-DLIBJ1939_BUILD_EXAMPLE=1
dist: bionic
addons: *gcc7
- os: linux
compiler: "gcc"
env: BUILD='Release'
TOOLCHAIN=-DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-cross-arm-none-eabi.cmake
dist: bionic
addons:
apt:
sources:
- sourceline: 'ppa:team-gcc-arm-embedded/ppa'
packages:
- gcc-arm-embedded
before_install:
- sudo apt-get -y install linux-headers-generic
script:
- cmake --version
- ${CC} --version
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=${BUILD} ${TOOLCHAIN} ${OPT} ..
- VERBOSE=1 cmake --build .
notifications:
email:
on_success: never
on_failure: never