-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (35 loc) · 772 Bytes
/
Copy path.travis.yml
File metadata and controls
35 lines (35 loc) · 772 Bytes
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
language: cpp
dist: focal
sudo: false
matrix:
include:
- compiler: gcc
addons:
apt:
packages:
- gcc-10
- g++-10
env:
- C_COMPILER=gcc-10
- CXX_COMPILER=g++-10
- CXX_FLAGS=""
- compiler: clang
addons:
apt:
packages:
- clang-11
- libc++-11-dev
- libc++abi-11-dev
env:
- C_COMPILER=clang-11
- CXX_COMPILER=clang++-11
- CXX_FLAGS="-stdlib=libc++"
script:
- cmake -S . -B build
-DGRAM_BUILD_TESTS=ON
-DCMAKE_C_COMPILER=$C_COMPILER
-DCMAKE_CXX_COMPILER=$CXX_COMPILER
-DCMAKE_CXX_FLAGS=$CXX_FLAGS
- cmake --build build
- ./build/test/unit/utest
- ./build/test/acceptance/atest