summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-23 23:42:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-23 23:42:54 +0300
commit4b0886d1e3c2a164bd1b36ba8c2861a0b3305647 (patch)
treed71f74cb5815967353bb97cbe2c8628670106166
parent4c1f6560f60d0a03c29ee5bc3b5b2989146c80e4 (diff)
downloadevol-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.yml12
-rwxr-xr-xtools/ci/jobs/gcc48.sh18
-rwxr-xr-xtools/ci/jobs/gcc49.sh18
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