diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-23 23:42:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-23 23:42:54 +0300 |
commit | 4b0886d1e3c2a164bd1b36ba8c2861a0b3305647 (patch) | |
tree | d71f74cb5815967353bb97cbe2c8628670106166 | |
parent | 4c1f6560f60d0a03c29ee5bc3b5b2989146c80e4 (diff) | |
download | evol-hercules-4b0886d1e3c2a164bd1b36ba8c2861a0b3305647.tar.gz evol-hercules-4b0886d1e3c2a164bd1b36ba8c2861a0b3305647.tar.bz2 evol-hercules-4b0886d1e3c2a164bd1b36ba8c2861a0b3305647.tar.xz evol-hercules-4b0886d1e3c2a164bd1b36ba8c2861a0b3305647.zip |
Add gcc 4.8 and gcc 4.9 into ci scripts.
-rw-r--r-- | .gitlab-ci.yml | 12 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc48.sh | 18 | ||||
-rwxr-xr-x | tools/ci/jobs/gcc49.sh | 18 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 320c48b..eb15ad3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,18 @@ before_script: # simple builds +gcc-4.8: + stage: build + script: + - ./tools/ci/jobs/gcc48.sh --enable-werror + image: debian:unstable + +gcc-4.9: + stage: build + script: + - ./tools/ci/jobs/gcc49.sh --enable-werror + image: debian:unstable + gcc-5: stage: build script: diff --git a/tools/ci/jobs/gcc48.sh b/tools/ci/jobs/gcc48.sh new file mode 100755 index 0000000..e364a9c --- /dev/null +++ b/tools/ci/jobs/gcc48.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +export CC=gcc-4.8 +export CXX=g++-4.8 +export LOGFILE=gcc4.8.log + +source ./tools/ci/scripts/init.sh + +aptget_install gcc-4.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/gcc49.sh b/tools/ci/jobs/gcc49.sh new file mode 100755 index 0000000..88a7b96 --- /dev/null +++ b/tools/ci/jobs/gcc49.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +export CC=gcc-4.9 +export CXX=g++-4.9 +export LOGFILE=gcc4.9.log + +source ./tools/ci/scripts/init.sh + +aptget_install gcc-4.9 \ + git-core \ + make autoconf automake autopoint \ + libtool libmysqlclient-dev libz-dev libpcre3-dev + +do_init +build_init + +run_configure $* +run_make |