Commit cca89ca8 authored by Dario Lombardo's avatar Dario Lombardo

gitlab-ci: add clang 7 builds.

Compile nopcap with clang 7 instead of 6.

Change-Id: Icc3ffc895e2b97feadca719b45ef72a5d79098cd
Reviewed-on: https://code.wireshark.org/review/26207Reviewed-by: 's avatarAlexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: 's avatarDario Lombardo <lomato@gmail.com>
parent 9e02ae10
image: crondaemon/wireshark image: crondaemon/wireshark
before_script: before_script:
- rm -rf /etc/apt/sources.list.d/* - rm -rf /etc/apt/sources.list.d/*
- echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" > /etc/apt/sources.list.d/clang.list
- 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-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 - 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 - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
...@@ -87,9 +88,15 @@ clang-6.0: ...@@ -87,9 +88,15 @@ clang-6.0:
- ../tools/debian-setup.sh --install-optional ninja-build clang-6.0 -y - ../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 .. - cmake -GNinja -DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
- ninja - ninja
clang-6.0-nopcap: clang-7:
retry: 1 retry: 1
script: script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-6.0 -y - ../tools/debian-setup.sh --install-optional ninja-build clang-7 -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 .. - cmake -GNinja -DCMAKE_C_COMPILER=clang-7 -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
- ninja
clang-7-nopcap:
retry: 1
script:
- ../tools/debian-setup.sh --install-optional ninja-build clang-7 -y
- cmake -GNinja -DENABLE_PCAP=OFF -DCMAKE_C_COMPILER=clang-7 -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
- ninja - ninja
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment