aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2017-11-19 17:00:35 +0100
committerDario Lombardo <lomato@gmail.com>2017-11-21 14:41:30 +0000
commit8cbde93146bfd72e98b942fe81d69300f9488dac (patch)
tree726419d9d896cba39a7b59c455c057432fc24c92
parent4a125fb183a5944693854edb8cf07a7bd57b90df (diff)
gitlab-ci: add clang 5 and 6 builds.
Change-Id: I732cee0ced4c38298660716bf8d027f6b22be885 Reviewed-on: https://code.wireshark.org/review/24494 Reviewed-by: Dario Lombardo <lomato@gmail.com>
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4b4ea06..74b4121 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -100,3 +100,21 @@ clang-4.0:
- apt install 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:
+ image: ubuntu:16.04
+ script:
+ - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" > /etc/apt/sources.list.d/clang5.list
+ - curl -s https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
+ - apt update -qq
+ - apt install 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:
+ image: ubuntu:16.04
+ script:
+ - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" > /etc/apt/sources.list.d/clang6.list
+ - curl -s https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
+ - apt update -qq
+ - apt install 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