summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-27 01:17:07 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-27 01:17:07 +0300
commitffc084e08aa76c4887fb191c526016b8fdb35f57 (patch)
tree7234edc9ff1542ef4b4b891ea871a2d8a46937e3
parentbf7b39e6d871b8cb543eefe2ad97a18b4ca62cdc (diff)
downloadplugin-ffc084e08aa76c4887fb191c526016b8fdb35f57.tar.gz
plugin-ffc084e08aa76c4887fb191c526016b8fdb35f57.tar.bz2
plugin-ffc084e08aa76c4887fb191c526016b8fdb35f57.tar.xz
plugin-ffc084e08aa76c4887fb191c526016b8fdb35f57.zip
Add clang-6 builds into .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml12
-rwxr-xr-xtools/ci/jobs/clang6.sh18
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