summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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