forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
111 lines (108 loc) · 3.45 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
dist: trusty
# While 'sudo' is not used explicity, setting it to 'required' enforces full virtualization.
# This is needed as container-based images fail to build Seastar due to insufficient memory.
sudo: required
language: cpp
compiler: gcc
matrix:
include:
# GCC 5, DPDK enabled
- env: DPDK_MODE="--enable-dpdk" GCC_VERSION="--compiler=g++-5"
addons: &gcc5
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libaio-dev
- ninja-build
- ragel
- libhwloc-dev
- libnuma-dev
- libpciaccess-dev
- libcrypto++-dev
- libboost1.55-all-dev
- libxml2-dev
- xfslibs-dev
- libgnutls28-dev
- liblz4-dev
- libsctp-dev
- make
- libprotobuf-dev
- protobuf-compiler
- python3
- libunwind8-dev
- systemtap-sdt-dev
- libtool
- cmake
- g++-5
# GCC 6, DPDK enabled
- env: DPDK_MODE="--enable-dpdk" GCC_VERSION="--compiler=g++-6"
addons: &gcc6
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libaio-dev
- ninja-build
- ragel
- libhwloc-dev
- libnuma-dev
- libpciaccess-dev
- libcrypto++-dev
- libboost1.55-all-dev
- libxml2-dev
- xfslibs-dev
- libgnutls28-dev
- liblz4-dev
- libsctp-dev
- make
- libprotobuf-dev
- protobuf-compiler
- python3
- libunwind8-dev
- systemtap-sdt-dev
- libtool
- cmake
- g++-6
# GCC 7, DPDK enabled
- env: DPDK_MODE="--enable-dpdk" GCC_VERSION="--compiler=g++-7"
addons: &gcc7
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libaio-dev
- ninja-build
- ragel
- libhwloc-dev
- libnuma-dev
- libpciaccess-dev
- libcrypto++-dev
- libboost1.55-all-dev
- libxml2-dev
- xfslibs-dev
- libgnutls28-dev
- liblz4-dev
- libsctp-dev
- make
- libprotobuf-dev
- protobuf-compiler
- python3
- libunwind8-dev
- systemtap-sdt-dev
- libtool
- cmake
- g++-7
# GCC 5, DPDK disabled
- env: DPDK_MODE="" GCC_VERSION="--compiler=g++-5"
addons: *gcc5
# GCC 6, DPDK disabled
- env: DPDK_MODE="" GCC_VERSION="--compiler=g++-6"
addons: *gcc6
# GCC 7, DPDK disabled
- env: DPDK_MODE="" GCC_VERSION="--compiler=g++-7"
addons: *gcc7
before_script:
- ./configure.py --mode=release ${DPDK_MODE} ${GCC_VERSION}
script:
- ninja -j`nproc --all`