Qt: select a better default Decode As table
[metze/wireshark/wip.git] / .gitlab-ci.yml
1 image: crondaemon/wireshark
2 before_script:
3   - rm -rf /etc/apt/sources.list.d/*
4   - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" >  /etc/apt/sources.list.d/clang.list
5   - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" > /etc/apt/sources.list.d/clang5.list
6   - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" > /etc/apt/sources.list.d/clang6.list
7   - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
8   - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" > /etc/apt/sources.list.d/gcc.list
9   - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F
10   - apt-get update -qq
11   - mkdir build
12   - cd build
13 gcc-4:
14   retry: 1
15   script:
16     - ../tools/debian-setup.sh --install-optional ninja-build gcc-4.9 g++-4.9 -y
17     - cmake -GNinja -DCMAKE_C_COMPILER=gcc-4.9 -DCMAKE_CXX_COMPILER=g++-4.9 ..
18     - ninja
19 gcc-5:
20   retry: 1
21   script:
22     - ../tools/debian-setup.sh --install-optional ninja-build gcc-5 g++-5 -y
23     - cmake -GNinja -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 ..
24     - ninja
25 gcc-6:
26   retry: 1
27   script:
28     - ../tools/debian-setup.sh --install-optional ninja-build  gcc-6 g++-6 -y
29     - cmake -GNinja -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 ..
30     - ninja
31 gcc-7:
32   retry: 1
33   script:
34     - ../tools/debian-setup.sh --install-optional ninja-build  gcc-7 g++-7 -y
35     - cmake -GNinja -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 ..
36     - ninja
37 gcc-8:
38   retry: 1
39   script:
40     - ../tools/debian-setup.sh --install-optional ninja-build  gcc-8 g++-8 -y
41     - cmake -GNinja -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8 ..
42     - ninja
43 gcc-8-nopcap:
44   retry: 1
45   script:
46     - ../tools/debian-setup.sh --install-optional ninja-build  gcc-8 g++-8 -y
47     - cmake -GNinja -DENABLE_PCAP=OFF -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8 ..
48     - ninja
49 clang-3.5:
50   retry: 1
51   script:
52     - ../tools/debian-setup.sh --install-optional ninja-build  clang-3.5 -y
53     - cmake -GNinja -DCMAKE_C_COMPILER=clang-3.5 -DCMAKE_CXX_COMPILER=clang++-3.5 ..
54     - ninja
55 clang-3.6:
56   retry: 1
57   script:
58     - ../tools/debian-setup.sh --install-optional ninja-build clang-3.6 -y
59     - cmake -GNinja -DCMAKE_C_COMPILER=clang-3.6 -DCMAKE_CXX_COMPILER=clang++-3.6 ..
60     - ninja
61 clang-3.7:
62   retry: 1
63   script:
64     - ../tools/debian-setup.sh --install-optional ninja-build  clang-3.7 -y
65     - cmake -GNinja -DCMAKE_C_COMPILER=clang-3.7 -DCMAKE_CXX_COMPILER=clang++-3.7 ..
66     - ninja
67 clang-3.8:
68   retry: 1
69   script:
70     - ../tools/debian-setup.sh --install-optional ninja-build  clang-3.8 -y
71     - cmake -GNinja -DCMAKE_C_COMPILER=clang-3.8 -DCMAKE_CXX_COMPILER=clang++-3.8 ..
72     - ninja
73 clang-3.9:
74   retry: 1
75   script:
76     - ../tools/debian-setup.sh --install-optional ninja-build  clang-3.9 -y
77     - cmake -GNinja -DCMAKE_C_COMPILER=clang-3.9 -DCMAKE_CXX_COMPILER=clang++-3.9 ..
78     - ninja
79 clang-4.0:
80   retry: 1
81   script:
82     - ../tools/debian-setup.sh --install-optional ninja-build  clang-4.0 -y
83     - cmake -GNinja -DCMAKE_C_COMPILER=clang-4.0 -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
84     - ninja
85 clang-5.0:
86   retry: 1
87   script:
88     - ../tools/debian-setup.sh --install-optional ninja-build  clang-5.0 -y
89     - cmake -GNinja -DCMAKE_C_COMPILER=clang-5.0 -DCMAKE_CXX_COMPILER=clang++-5.0 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
90     - ninja
91 clang-6.0:
92   retry: 1
93   script:
94     - ../tools/debian-setup.sh --install-optional ninja-build  clang-6.0 -y
95     - cmake -GNinja -DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
96     - ninja
97 clang-7:
98   retry: 1
99   script:
100      - ../tools/debian-setup.sh --install-optional ninja-build clang-7 -y
101      - cmake -GNinja -DCMAKE_C_COMPILER=clang-7  -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
102      - ninja
103 clang-7-nopcap:
104   retry: 1
105   script:
106     - ../tools/debian-setup.sh --install-optional ninja-build clang-7 -y
107     - cmake -GNinja -DENABLE_PCAP=OFF -DCMAKE_C_COMPILER=clang-7 -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
108     - ninja