diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-27 01:11:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-27 01:11:39 +0300 |
commit | 4947a734ec6c8c56a5356f8dbb0bde6ee8e99ba5 (patch) | |
tree | 547a7b80adacad35a28d0a17591a719c34765940 | |
parent | 9372ad29beaf3678bf9b91fb0b4eccc7cf2260a1 (diff) | |
download | evol-hercules-4947a734ec6c8c56a5356f8dbb0bde6ee8e99ba5.tar.gz evol-hercules-4947a734ec6c8c56a5356f8dbb0bde6ee8e99ba5.tar.bz2 evol-hercules-4947a734ec6c8c56a5356f8dbb0bde6ee8e99ba5.tar.xz evol-hercules-4947a734ec6c8c56a5356f8dbb0bde6ee8e99ba5.zip |
Add gcc-7 builds into .gitlab-ci.yml
-rw-r--r-- | .gitlab-ci.yml | 24 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc7.sh | 18 |
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 |