summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 15:33:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 15:33:53 +0300
commit288b14b21178f7892a41cbc00a03cffcaa1bb8ec (patch)
treec5dad15d4f3cbc3eedee1a79bc30b99fe2fcc672 /tools/ci
parentc3bb4f8f2eff05ccdb8a3f9ef58fc741eedfaa79 (diff)
downloadmanaplus-288b14b21178f7892a41cbc00a03cffcaa1bb8ec.tar.gz
manaplus-288b14b21178f7892a41cbc00a03cffcaa1bb8ec.tar.bz2
manaplus-288b14b21178f7892a41cbc00a03cffcaa1bb8ec.tar.xz
manaplus-288b14b21178f7892a41cbc00a03cffcaa1bb8ec.zip
Add into ci scripts gcc 4.5 and gcc 4.8
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/jobs/gcc45.sh20
-rwxr-xr-xtools/ci/jobs/gcc48.sh20
2 files changed, 40 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc45.sh b/tools/ci/jobs/gcc45.sh
new file mode 100755
index 000000000..a4a4dd6b3
--- /dev/null
+++ b/tools/ci/jobs/gcc45.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+export CC=gcc-4.5
+export CXX=g++-4.5
+export LOGFILE=gcc45.log
+
+source ./tools/ci/scripts/init.sh
+
+aptget_install gcc-4.5 g++-4.5 \
+ make autoconf automake autopoint gettext libphysfs-dev \
+ libxml2-dev libcurl4-gnutls-dev libpng-dev \
+ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
+
+do_init
+run_configure --enable-werror
+run_make
+
+source ./tools/ci/scripts/exit.sh
+
+exit 0
diff --git a/tools/ci/jobs/gcc48.sh b/tools/ci/jobs/gcc48.sh
new file mode 100755
index 000000000..9cbaa2804
--- /dev/null
+++ b/tools/ci/jobs/gcc48.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+export CC=gcc-4.8
+export CXX=g++-4.8
+export LOGFILE=gcc47.log
+
+source ./tools/ci/scripts/init.sh
+
+aptget_install gcc-4.8 g++-4.8 \
+ make autoconf automake autopoint gettext libphysfs-dev \
+ libxml2-dev libcurl4-gnutls-dev libpng-dev \
+ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
+
+do_init
+run_configure --enable-werror
+run_make
+
+source ./tools/ci/scripts/exit.sh
+
+exit 0