summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-08-19 19:29:58 +0300
committerAndrei Karas <akaras@inbox.ru>2019-08-19 19:32:08 +0300
commite19170cb5802e6910ace26276bf4eabb1a22c25d (patch)
treeb455595d3405aff7fbb26f9323adaf7dbe99ce0a
parent5ea15b37b25106a228c5ede264bd5424b1291507 (diff)
downloadevol-hercules-e19170cb5802e6910ace26276bf4eabb1a22c25d.tar.gz
evol-hercules-e19170cb5802e6910ace26276bf4eabb1a22c25d.tar.bz2
evol-hercules-e19170cb5802e6910ace26276bf4eabb1a22c25d.tar.xz
evol-hercules-e19170cb5802e6910ace26276bf4eabb1a22c25d.zip
Add new compilers and fix issues with old compilers in .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml78
-rwxr-xr-xtools/ci/jobs/clang7.sh2
-rwxr-xr-xtools/ci/jobs/clang8.sh18
-rwxr-xr-xtools/ci/jobs/gcc8.sh18
-rwxr-xr-xtools/ci/jobs/gcc9.sh18
5 files changed, 115 insertions, 19 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4002c7e..df84e57 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,7 @@ gcc-snapshot:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot.sh --enable-werror
- image: vicamo/debian:sid-i386
+ image: i386/debian:unstable
gcc-4.8:
stage: build
@@ -32,18 +32,6 @@ gcc-4.9:
- ./tools/ci/jobs/gcc49.sh --enable-werror
image: debian:jessie
-.gcc-5:
- stage: build
- script:
- - ./tools/ci/jobs/gcc5.sh --enable-werror
- image: debian:unstable
-
-.gcc-5-i386:
- stage: build
- script:
- - ./tools/ci/jobs/gcc5.sh --enable-werror
- image: vicamo/debian:sid-i386
-
gcc-6:
stage: build
script:
@@ -66,19 +54,31 @@ gcc-7:
stage: build
script:
- ./tools/ci/jobs/gcc7.sh --enable-werror
- image: vicamo/debian:sid-i386
+ image: i386/debian:unstable
+
+gcc-8:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc8.sh --enable-werror
+ image: debian:unstable
+
+gcc-9:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc9.sh --enable-werror
+ image: debian:unstable
clang-3.9:
stage: build
script:
- ./tools/ci/jobs/clang39.sh --enable-werror
- image: debian:stable
+ image: debian:stretch
.clang-3.9-i386:
stage: build
script:
- ./tools/ci/jobs/clang39.sh --enable-werror
- image: vicamo/debian:sid-i386
+ image: i386/debian:unstable
clang-6:
stage: build
@@ -90,7 +90,7 @@ clang-6:
stage: build
script:
- ./tools/ci/jobs/clang6.sh --enable-werror
- image: vicamo/debian:sid-i386
+ image: i386/debian:unstable
clang-7:
stage: build
@@ -102,7 +102,13 @@ clang-7:
stage: build
script:
- ./tools/ci/jobs/clang7.sh --enable-werror
- image: vicamo/debian:sid-i386
+ image: i386/debian:unstable
+
+clang-8:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang8.sh --enable-werror
+ image: debian:unstable
# tests
@@ -149,6 +155,18 @@ gcc-7-sanitize:
- ./tools/ci/jobs/gcc7.sh --enable-werror --enable-sanitize
image: debian:unstable
+gcc-8-sanitize:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc8.sh --enable-werror --enable-sanitize
+ image: debian:unstable
+
+gcc-9-sanitize:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc9.sh --enable-werror --enable-sanitize
+ image: debian:unstable
+
gcc-4.9_lto-sanitize:
stage: test
script:
@@ -173,6 +191,18 @@ gcc-7_lto-sanitize:
- ./tools/ci/jobs/gcc7.sh --enable-werror --enable-lto --enable-sanitize
image: debian:unstable
+gcc-8_lto-sanitize:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc8.sh --enable-werror --enable-lto --enable-sanitize
+ image: debian:unstable
+
+gcc-9_lto-sanitize:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc9.sh --enable-werror --enable-lto --enable-sanitize
+ image: debian:unstable
+
gcc-4.8-lto:
stage: test
script:
@@ -203,6 +233,18 @@ gcc-7_lto:
- ./tools/ci/jobs/gcc7.sh --enable-werror --enable-lto
image: debian:unstable
+gcc-8_lto:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc8.sh --enable-werror --enable-lto
+ image: debian:unstable
+
+gcc-9_lto:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc9.sh --enable-werror --enable-lto
+ image: debian:unstable
+
# disabled due not support -std=c11
.gcc-4.6:
stage: test
diff --git a/tools/ci/jobs/clang7.sh b/tools/ci/jobs/clang7.sh
index c416f8d..18f4a9b 100755
--- a/tools/ci/jobs/clang7.sh
+++ b/tools/ci/jobs/clang7.sh
@@ -2,7 +2,7 @@
export CC=clang-7
export CXX=clang++-7
-export LOGFILE=clang6.log
+export LOGFILE=clang7.log
source ./tools/ci/scripts/init.sh
diff --git a/tools/ci/jobs/clang8.sh b/tools/ci/jobs/clang8.sh
new file mode 100755
index 0000000..3c10b3d
--- /dev/null
+++ b/tools/ci/jobs/clang8.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+export CC=clang-8
+export CXX=clang++-8
+export LOGFILE=clang8.log
+
+source ./tools/ci/scripts/init.sh
+
+aptget_install clang-8 \
+ git-core \
+ make autoconf automake autopoint \
+ libtool libmysqlclient-dev libz-dev libpcre3-dev
+
+do_init
+build_init
+
+run_configure $*
+run_make
diff --git a/tools/ci/jobs/gcc8.sh b/tools/ci/jobs/gcc8.sh
new file mode 100755
index 0000000..6f1fb66
--- /dev/null
+++ b/tools/ci/jobs/gcc8.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+export CC=gcc-8
+export CXX=g++-8
+export LOGFILE=gcc8.log
+
+source ./tools/ci/scripts/init.sh
+
+aptget_install gcc-8 \
+ git-core \
+ make autoconf automake autopoint \
+ libtool libmysqlclient-dev libz-dev libpcre3-dev
+
+do_init
+build_init
+
+run_configure $*
+run_make
diff --git a/tools/ci/jobs/gcc9.sh b/tools/ci/jobs/gcc9.sh
new file mode 100755
index 0000000..01e7ec6
--- /dev/null
+++ b/tools/ci/jobs/gcc9.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+export CC=gcc-9
+export CXX=g++-9
+export LOGFILE=gcc9.log
+
+source ./tools/ci/scripts/init.sh
+
+aptget_install gcc-9 \
+ git-core \
+ make autoconf automake autopoint \
+ libtool libmysqlclient-dev libz-dev libpcre3-dev
+
+do_init
+build_init
+
+run_configure $*
+run_make