summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-27 01:46:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-27 02:48:26 +0300
commit60b8bd439ef6a5ce2c68d31b316b4644c6b3de97 (patch)
treee8a1e3d908fd33e5192dbc6f373976aa5f52dc5b /tools
parent5f3756c2d5ac93ef7389fca2588df19e0da08a11 (diff)
downloadmanaplus-60b8bd439ef6a5ce2c68d31b316b4644c6b3de97.tar.gz
manaplus-60b8bd439ef6a5ce2c68d31b316b4644c6b3de97.tar.bz2
manaplus-60b8bd439ef6a5ce2c68d31b316b4644c6b3de97.tar.xz
manaplus-60b8bd439ef6a5ce2c68d31b316b4644c6b3de97.zip
Add gcc 4.1 and 4.3 gentoo jobs. also add gcc 5 gentoo tests (disabled).
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/jobs/gcc3.sh8
-rwxr-xr-xtools/ci/jobs/gcc41.sh23
-rwxr-xr-xtools/ci/jobs/gcc43.sh23
-rwxr-xr-xtools/ci/jobs/gcc5.sh8
4 files changed, 62 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc3.sh b/tools/ci/jobs/gcc3.sh
index cce38d75e..41e53a30e 100755
--- a/tools/ci/jobs/gcc3.sh
+++ b/tools/ci/jobs/gcc3.sh
@@ -2,6 +2,14 @@
export CC=gcc-3.4.6
export CXX=g++-3.4.6
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
export LOGFILE=gcc3.log
source ./tools/ci/scripts/init.sh
diff --git a/tools/ci/jobs/gcc41.sh b/tools/ci/jobs/gcc41.sh
new file mode 100755
index 000000000..545cd898c
--- /dev/null
+++ b/tools/ci/jobs/gcc41.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+export CC=gcc-4.1
+export CXX=g++-4.1
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
+export LOGFILE=gcc41.log
+
+source ./tools/ci/scripts/init.sh
+
+do_init
+run_configure $*
+run_make
+
+source ./tools/ci/scripts/exit.sh
+
+exit 0
diff --git a/tools/ci/jobs/gcc43.sh b/tools/ci/jobs/gcc43.sh
new file mode 100755
index 000000000..dd6f3c381
--- /dev/null
+++ b/tools/ci/jobs/gcc43.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+export CC=gcc-4.3.6-r1
+export CXX=g++-4.3.6-r1
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
+export LOGFILE=gcc43.log
+
+source ./tools/ci/scripts/init.sh
+
+do_init
+run_configure $*
+run_make
+
+source ./tools/ci/scripts/exit.sh
+
+exit 0
diff --git a/tools/ci/jobs/gcc5.sh b/tools/ci/jobs/gcc5.sh
index cad54dd0d..05aa51e5a 100755
--- a/tools/ci/jobs/gcc5.sh
+++ b/tools/ci/jobs/gcc5.sh
@@ -2,6 +2,14 @@
export CC=gcc-5
export CXX=g++-5
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
export LOGFILE=gcc5.log
source ./tools/ci/scripts/init.sh