summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-27 01:18:11 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-27 01:18:11 +0300
commitdb09bd0f8be1c465359742af695079437241d101 (patch)
tree14221c66e3cbda7b571f0e8c3e90951198ac895a
parentffc084e08aa76c4887fb191c526016b8fdb35f57 (diff)
downloadevol-hercules-db09bd0f8be1c465359742af695079437241d101.tar.gz
evol-hercules-db09bd0f8be1c465359742af695079437241d101.tar.bz2
evol-hercules-db09bd0f8be1c465359742af695079437241d101.tar.xz
evol-hercules-db09bd0f8be1c465359742af695079437241d101.zip
Add clang-7 builds into .gitlab-ci.yml
-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