-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
63 lines (56 loc) · 1.86 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
language: c++
cache:
ccache: true
addons:
apt:
update: true
packages:
- clang
- clang-format
- llvm
- llvm-dev
- lcov
- ruby
- gcc-12
- g++-12
env:
global:
- CMAKE_C_COMPILER_LAUNCHER=ccache
- CMAKE_CXX_COMPILER_LAUNCHER=ccache
jobs:
include:
- name: "Static Analysis"
os: linux
dist: jammy
env:
- CC=clang
- CXX=clang++
before_script:
- cmake -DCMAKE_BUILD_TYPE=Debug -DSTATIC_ANALYSIS=ON .
script:
- cmake --build . --config Debug --parallel 3
- name: "GCC Build"
os: linux
dist: jammy
env:
- CC=gcc-12
- CXX=g++-12
before_script:
- cmake -DCMAKE_BUILD_TYPE=Release .
script:
- cmake --build . --config Release --parallel 3
- name: "Clang Build"
os: linux
dist: jammy
env:
- CC=clang
- CXX=clang++
before_script:
- cmake -DCMAKE_BUILD_TYPE=Release .
script:
- cmake --build . --config Release --parallel 3
- cmake --build . --config Release --parallel 3 --target format.check
notifications:
slack:
secure: MFLk4zagqALk1csb6UWXIArdkP1kimj5GTKrJl520V/e4ZhE823WfgeQHY+KMW5YpvjSGnha96xJGSudDvAi5HC6IywmRpRmiBCgId/LJp5M4iA98etZQzmrr8uIR2bFdDoLqy11te7uAZrJjVF7qo18bj5IzWT/AQHVX885eodlfkAoWKUabDIWM7PtgmGiPfAwJC8a5j16rXVlx5g95b7GwNQHhEllXg1L/hGAE0PBznuKjBh1skl7hmaeMeY/7sudpjufak6rXm7lvA3LowMWuB4v2PCFJtEr6YfILGOkTxf0se/GjR0VM0BVBdPtfKp69CRyfVhS9nn7oa1HdgO/kjY0wdYquXuTughEymHTs2v/qokXlRWOveKfRkZ2hsmRf3J6KMHXW3V0NeXNuciWXGl1JACoiroFCuh7e7iqp83Q137mbmPMNIh0fcm0qaMD7SO2qK+jvMlB7T5/C7Z6G9SjwuRVzHiXNEiEsZnpNkBaTzoAQT/rw0d+MI3LcTInTyotwzZupSNPaJuza2adxcuqV3L8QVnUtfcL6zprJ6bavzt+pM2x+WJlaT8c47FVu6on5AlyanpMSBe/p01JjZ/g7MVTiG/Wl1GJsh29IDHV4HJ6yKHI+gccmhInvNWBrkffvewbWc8GJkJLD1MCKYRaNua6vErDMdW+Fe8=
on_success: never