diff options
-rw-r--r-- | .gitlab-ci.yml | 12 | ||||
-rwxr-xr-x | tools/ci/jobs/clang6.sh | 18 |
2 files changed, 30 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5231be0..3cf54b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,6 +82,18 @@ clang-3.9-i386: - ./tools/ci/jobs/clang39.sh --enable-werror image: vicamo/debian:sid-i386 +clang-6: + stage: build + script: + - ./tools/ci/jobs/clang6.sh --enable-werror + image: debian:unstable + +clang-6-i386: + stage: build + script: + - ./tools/ci/jobs/clang6.sh --enable-werror + image: vicamo/debian:sid-i386 + # tests gcc-snapshot_lto-sanitize: diff --git a/tools/ci/jobs/clang6.sh b/tools/ci/jobs/clang6.sh new file mode 100755 index 0000000..8fdc908 --- /dev/null +++ b/tools/ci/jobs/clang6.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +export CC=clang-6.0 +export CXX=clang++-6.0 +export LOGFILE=clang6.log + +source ./tools/ci/scripts/init.sh + +aptget_install clang-6.0 \ + git-core \ + make autoconf automake autopoint \ + libtool libmysqlclient-dev libz-dev libpcre3-dev + +do_init +build_init + +run_configure $* +run_make |