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: cpp
|
| matrix:
| include:
| - os: linux
| dist: bionic
| addons:
| apt:
| packages:
| - cmake
| - valgrind
| - libssl-dev
| - zlib1g-dev
| - libboost-test-dev
| - libboost-filesystem-dev
| - libboost-iostreams-dev
| - libboost-program-options-dev
| - libboost-system-dev
| - libboost-thread-dev
| - libboost-date-time-dev
| - os: linux
| dist: xenial
| addons:
| apt:
| packages:
| - cmake
| - valgrind
| - libssl-dev
| - zlib1g-dev
| - libboost-test-dev
| - libboost-filesystem-dev
| - libboost-iostreams-dev
| - libboost-program-options-dev
| - libboost-system-dev
| - libboost-thread-dev
| - libboost-date-time-dev
| stages:
| - compile
| - test
|
| before_script:
| - mkdir build
| - cd build && cmake -DCMAKE_INSTALL_PREFIX=../../install ..
|
| jobs:
| include:
| - stage: compile
| script:
| - make
| make install
| - stage: test
| script: make test
|
|