summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml2
-rwxr-xr-xtools/ci/jobs/gcc5.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f271691..39caab6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,7 +9,7 @@ before_script:
# simple builds
-.gcc-5:
+gcc-5:
stage: build
script:
- ./tools/ci/jobs/gcc5.sh --enable-werror
diff --git a/tools/ci/jobs/gcc5.sh b/tools/ci/jobs/gcc5.sh
index 035b99c..777762b 100755
--- a/tools/ci/jobs/gcc5.sh
+++ b/tools/ci/jobs/gcc5.sh
@@ -7,10 +7,16 @@ export LOGFILE=gcc5.log
source ./tools/ci/scripts/init.sh
aptget_install gcc-5 g++-5 \
+ git-core \
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
+clone_servercode
+mkdir server-code/src/evol
+cp -r evol-hercules/* ../server-code/src/evol
+cd ../server-code/src/evol
+
run_configure $*
run_make