summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-09 21:20:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-09 21:20:10 +0300
commitf03a2fd3c08b293abd00f19c70d0b97990f891cd (patch)
treedc0e25c36ec852edb7a671893bcca74d23cf1079
parent407de0a8d0898b28a587962e997df816cb17b6a9 (diff)
downloadplus-f03a2fd3c08b293abd00f19c70d0b97990f891cd.tar.gz
plus-f03a2fd3c08b293abd00f19c70d0b97990f891cd.tar.bz2
plus-f03a2fd3c08b293abd00f19c70d0b97990f891cd.tar.xz
plus-f03a2fd3c08b293abd00f19c70d0b97990f891cd.zip
Add some jobs for build headers for SDL 2.
-rw-r--r--.gitlab-ci.yml32
-rwxr-xr-xtools/ci/jobs/gcc5_h.sh2
-rwxr-xr-xtools/ci/jobs/gcc5_h_pugi.sh2
3 files changed, 29 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 767e90df2..4f8b51427 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -308,7 +308,7 @@ cpplint:
gcc-5_h_all:
stage: prebuild
script:
- - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_LIBXML
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_LIBXML -I/usr/include/SDL
<<: *job-push
variables:
PACKAGES: gcc-5 g++-5
@@ -319,7 +319,7 @@ gcc-5_h_all:
gcc-5_h_all_i386:
stage: prebuild
script:
- - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_LIBXML
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_LIBXML -I/usr/include/SDL
image: vicamo/debian:sid-i386
<<: *job-push
variables:
@@ -2045,7 +2045,7 @@ gcc-5_default_i386:
gcc-5_h_eathena_tmwa:
stage: build
script:
- - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_LIBXML
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_LIBXML -I/usr/include/SDL
<<: *job-push
variables:
PACKAGES: gcc-5 g++-5
@@ -2056,7 +2056,7 @@ gcc-5_h_eathena_tmwa:
gcc-5_h_pugi_all:
stage: build
script:
- - ./tools/ci/jobs/gcc5_h_pugi.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_PUGIXML
+ - ./tools/ci/jobs/gcc5_h_pugi.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_PUGIXML -I/usr/include/SDL
<<: *job-push
variables:
PACKAGES: gcc-5 g++-5
@@ -2067,7 +2067,7 @@ gcc-5_h_pugi_all:
gcc-5_h_tinyxml2_all:
stage: build
script:
- - ./tools/ci/jobs/gcc5_h_pugi.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_TINYXML2
+ - ./tools/ci/jobs/gcc5_h_pugi.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_TINYXML2 -I/usr/include/SDL
<<: *job-push
variables:
PACKAGES: gcc-5 g++-5
@@ -2075,6 +2075,28 @@ gcc-5_h_tinyxml2_all:
libtinyxml2-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
+gcc-5_h_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_LIBXML -DUSE_SDL2 -I/usr/include/SDL2
+ <<: *job-push
+ variables:
+ PACKAGES: gcc-5 g++-5
+ make autoconf automake autopoint gettext
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
+
+gcc-5_h_sdl2_without_opengl:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DTMWA_SUPPORT -DENABLE_NLS -DENABLE_LIBXML -DUSE_SDL2 -I/usr/include/SDL2
+ <<: *job-push
+ variables:
+ PACKAGES: gcc-5 g++-5
+ make autoconf automake autopoint gettext
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
+
gcc-5_tarball:
stage: build
script:
diff --git a/tools/ci/jobs/gcc5_h.sh b/tools/ci/jobs/gcc5_h.sh
index 6a52f3fd4..de392c73e 100755
--- a/tools/ci/jobs/gcc5_h.sh
+++ b/tools/ci/jobs/gcc5_h.sh
@@ -18,7 +18,7 @@ do_init
cd src
export dir=$(pwd)
-export includes="-I$dir -I/usr/include -I/usr/include/SDL -I/usr/include/libxml2"
+export includes="-I$dir -I/usr/include -I/usr/include/libxml2"
run_h $*
diff --git a/tools/ci/jobs/gcc5_h_pugi.sh b/tools/ci/jobs/gcc5_h_pugi.sh
index 6a52f3fd4..de392c73e 100755
--- a/tools/ci/jobs/gcc5_h_pugi.sh
+++ b/tools/ci/jobs/gcc5_h_pugi.sh
@@ -18,7 +18,7 @@ do_init
cd src
export dir=$(pwd)
-export includes="-I$dir -I/usr/include -I/usr/include/SDL -I/usr/include/libxml2"
+export includes="-I$dir -I/usr/include -I/usr/include/libxml2"
run_h $*