forked from wireshark/wireshark
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
95 lines (95 loc) · 3.58 KB
/
.gitlab-ci.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
image: crondaemon/wireshark
before_script:
- rm -rf /etc/apt/sources.list.d/*
- echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" > /etc/apt/sources.list.d/clang5.list
- echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" > /etc/apt/sources.list.d/clang6.list
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" > /etc/apt/sources.list.d/gcc.list
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F
- apt-get update -qq
- mkdir build
- cd build
gcc-4:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build gcc-4.9 g++-4.9 -y
- cmake -GNinja -DCMAKE_C_COMPILER=gcc-4.9 -DCMAKE_CXX_COMPILER=g++-4.9 ..
- ninja
gcc-5:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build gcc-5 g++-5 -y
- cmake -GNinja -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 ..
- ninja
gcc-6:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build gcc-6 g++-6 -y
- cmake -GNinja -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 ..
- ninja
gcc-7:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build gcc-7 g++-7 -y
- cmake -GNinja -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 ..
- ninja
gcc-7-nopcap:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build gcc-7 g++-7 -y
- cmake -GNinja -DENABLE_PCAP=OFF -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 ..
- ninja
clang-3.5:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-3.5 -y
- cmake -GNinja -DCMAKE_C_COMPILER=clang-3.5 -DCMAKE_CXX_COMPILER=clang++-3.5 ..
- ninja
clang-3.6:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-3.6 -y
- cmake -GNinja -DCMAKE_C_COMPILER=clang-3.6 -DCMAKE_CXX_COMPILER=clang++-3.6 ..
- ninja
clang-3.7:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-3.7 -y
- cmake -GNinja -DCMAKE_C_COMPILER=clang-3.7 -DCMAKE_CXX_COMPILER=clang++-3.7 ..
- ninja
clang-3.8:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-3.8 -y
- cmake -GNinja -DCMAKE_C_COMPILER=clang-3.8 -DCMAKE_CXX_COMPILER=clang++-3.8 ..
- ninja
clang-3.9:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-3.9 -y
- cmake -GNinja -DCMAKE_C_COMPILER=clang-3.9 -DCMAKE_CXX_COMPILER=clang++-3.9 ..
- ninja
clang-4.0:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-4.0 -y
- cmake -GNinja -DCMAKE_C_COMPILER=clang-4.0 -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
- ninja
clang-5.0:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-5.0 -y
- cmake -GNinja -DCMAKE_C_COMPILER=clang-5.0 -DCMAKE_CXX_COMPILER=clang++-5.0 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
- ninja
clang-6.0:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-6.0 -y
- cmake -GNinja -DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
- ninja
clang-6.0-nopcap:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-6.0 -y
- cmake -GNinja -DENABLE_PCAP=OFF -DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
- ninja