summaryrefslogtreecommitdiff
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
parentc3bb4f8f2eff05ccdb8a3f9ef58fc741eedfaa79 (diff)
downloadmv-288b14b21178f7892a41cbc00a03cffcaa1bb8ec.tar.gz
mv-288b14b21178f7892a41cbc00a03cffcaa1bb8ec.tar.bz2
mv-288b14b21178f7892a41cbc00a03cffcaa1bb8ec.tar.xz
mv-288b14b21178f7892a41cbc00a03cffcaa1bb8ec.zip
Add into ci scripts gcc 4.5 and gcc 4.8
-rw-r--r--.gitlab-ci.yml12
-rwxr-xr-xtools/ci/jobs/gcc45.sh20
-rwxr-xr-xtools/ci/jobs/gcc48.sh20
3 files changed, 52 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a075247a..07c29b43e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,6 +15,12 @@ gcc-4.4:
- ./tools/ci/jobs/gcc44.sh
image: debian:oldstable
+gcc-4.5:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc45.sh
+ image: ubuntu:12.04
+
gcc-4.6:
stage: build
script:
@@ -27,6 +33,12 @@ gcc-4.7:
- ./tools/ci/jobs/gcc47.sh
image: debian:oldstable
+gcc-4.8:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc48.sh
+ image: debian:stable
+
clang-3.0:
stage: build
script:
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