summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-24 20:48:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-24 20:58:40 +0300
commit0d59961f707234cf6f922ef437c02124f7b92da4 (patch)
tree6cd95aa7424c8758c1eda1b691d82cc3437af5ee
parent40fb66184b04e9f2647d019d5a974cb13f6afc3b (diff)
downloadplus-0d59961f707234cf6f922ef437c02124f7b92da4.tar.gz
plus-0d59961f707234cf6f922ef437c02124f7b92da4.tar.bz2
plus-0d59961f707234cf6f922ef437c02124f7b92da4.tar.xz
plus-0d59961f707234cf6f922ef437c02124f7b92da4.zip
Add into .gitlab-ci.yml builds on gentoo with gcc 3.
-rw-r--r--.gitlab-ci.yml24
-rwxr-xr-xtools/ci/jobs/gcc3.sh15
2 files changed, 39 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b31d5f0fb..95ed4917f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -969,6 +969,30 @@ gcc-5_tarball_tests:
# simple builds
+gcc-3_sdl1:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc3.sh
+ image: registry.gitlab.com/manaplus/images:gentoo_gcc3_sdl1
+ <<: *job-shared
+ variables:
+ PMUPDATE: "echo"
+ PMINSTALL: "echo"
+ tags:
+ - docker
+
+gcc-3_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc3.sh --with-sdl2
+ image: registry.gitlab.com/manaplus/images:gentoo_gcc3_sdl2
+ <<: *job-shared
+ variables:
+ PMUPDATE: "echo"
+ PMINSTALL: "echo"
+ tags:
+ - docker
+
gcc-4.4_i386:
stage: build
script:
diff --git a/tools/ci/jobs/gcc3.sh b/tools/ci/jobs/gcc3.sh
new file mode 100755
index 000000000..cce38d75e
--- /dev/null
+++ b/tools/ci/jobs/gcc3.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+export CC=gcc-3.4.6
+export CXX=g++-3.4.6
+export LOGFILE=gcc3.log
+
+source ./tools/ci/scripts/init.sh
+
+do_init
+run_configure $*
+run_make
+
+source ./tools/ci/scripts/exit.sh
+
+exit 0