blob: caed76e4bd141d43afa709b1a1caa97a4e71cf19 (
plain)
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
|
language: c
dist: trusty
sudo: false
addons:
apt:
packages:
- cmake
- uncrustify
- colordiff
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang
# - os: osx
# compiler: gcc
- os: osx
compiler: clang
script:
# Print all environment variables to aid in CI development
- uname -a
- printenv
# Print version and available CMake generators to aid in CI development
- cmake --version
# Perform out-of-source build
- mkdir build
- cd build
# Perform CMake backend generation, build, and test
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build . -- -j4
- ctest --output-on-failure -C Debug -j4
- ../etc/uncrustify_check.sh
|