summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml12
-rwxr-xr-xtools/ci/jobs/clang7.sh18
2 files changed, 30 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3cf54b6..56a1648 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,6 +94,18 @@ clang-6-i386:
- ./tools/ci/jobs/clang6.sh --enable-werror
image: vicamo/debian:sid-i386
+clang-7:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang7.sh --enable-werror
+ image: debian:unstable
+
+clang-7-i386:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang7.sh --enable-werror
+ image: vicamo/debian:sid-i386
+
# tests
gcc-snapshot_lto-sanitize:
diff --git a/tools/ci/jobs/clang7.sh b/tools/ci/jobs/clang7.sh
new file mode 100755
index 0000000..2c0acb8
--- /dev/null
+++ b/tools/ci/jobs/clang7.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+export CC=clang-7.0
+export CXX=clang++-7.0
+export LOGFILE=clang6.log
+
+source ./tools/ci/scripts/init.sh
+
+aptget_install clang-7.0 \
+ git-core \
+ make autoconf automake autopoint \
+ libtool libmysqlclient-dev libz-dev libpcre3-dev
+
+do_init
+build_init
+
+run_configure $*
+run_make