summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml24
-rwxr-xr-xtools/ci/jobs/gcc7.sh18
2 files changed, 42 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b84fdab..32da197 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,6 +52,12 @@ gcc-6:
- ./tools/ci/jobs/gcc6.sh --enable-werror
image: debian:unstable
+gcc-7:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc7.sh --enable-werror
+ image: debian:unstable
+
clang-3.9:
stage: build
script:
@@ -103,6 +109,12 @@ gcc-6-sanitize:
- ./tools/ci/jobs/gcc6.sh --enable-werror --enable-sanitize
image: debian:unstable
+gcc-7-sanitize:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc7.sh --enable-werror --enable-sanitize
+ image: debian:unstable
+
gcc-4.9_lto-sanitize:
stage: test
script:
@@ -121,6 +133,12 @@ gcc-6_lto-sanitize:
- ./tools/ci/jobs/gcc6.sh --enable-werror --enable-lto --enable-sanitize
image: debian:unstable
+gcc-7_lto-sanitize:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc7.sh --enable-werror --enable-lto --enable-sanitize
+ image: debian:unstable
+
gcc-4.8-lto:
stage: test
script:
@@ -145,6 +163,12 @@ gcc-6_lto:
- ./tools/ci/jobs/gcc6.sh --enable-werror --enable-lto
image: debian:unstable
+gcc-7_lto:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc7.sh --enable-werror --enable-lto
+ image: debian:unstable
+
gcc-4.6:
stage: test
script:
diff --git a/tools/ci/jobs/gcc7.sh b/tools/ci/jobs/gcc7.sh
new file mode 100755
index 0000000..8d9fad6
--- /dev/null
+++ b/tools/ci/jobs/gcc7.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+export CC=gcc-7
+export CXX=g++-7
+export LOGFILE=gcc7.log
+
+source ./tools/ci/scripts/init.sh
+
+aptget_install gcc-7 \
+ git-core \
+ make autoconf automake autopoint \
+ libtool libmysqlclient-dev libz-dev libpcre3-dev
+
+do_init
+build_init
+
+run_configure $*
+run_make