diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-08-19 19:29:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-08-19 19:58:07 +0300 |
commit | 4e33254976fefcd4b16ccedeaace444e3e1f2926 (patch) | |
tree | b455595d3405aff7fbb26f9323adaf7dbe99ce0a | |
parent | 5ea15b37b25106a228c5ede264bd5424b1291507 (diff) | |
download | evol-hercules-4e33254976fefcd4b16ccedeaace444e3e1f2926.tar.gz evol-hercules-4e33254976fefcd4b16ccedeaace444e3e1f2926.tar.bz2 evol-hercules-4e33254976fefcd4b16ccedeaace444e3e1f2926.tar.xz evol-hercules-4e33254976fefcd4b16ccedeaace444e3e1f2926.zip |
Add new compilers and fix issues with old compilers in .gitlab-ci.yml
-rw-r--r-- | .gitlab-ci.yml | 78 | ||||
-rwxr-xr-x | tools/ci/jobs/clang7.sh | 2 | ||||
-rwxr-xr-x | tools/ci/jobs/clang8.sh | 18 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc8.sh | 18 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc9.sh | 18 |
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 |