summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-06 18:48:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-06 19:02:03 +0300
commit620feabd032fb9e1e1092fc50240b69569007f93 (patch)
tree70da8e5ddeb2ab1e0deb1dafc9a4c5b029b5278f
parent491695e60e95668e8170e290388f976190859314 (diff)
downloadmv-620feabd032fb9e1e1092fc50240b69569007f93.tar.gz
mv-620feabd032fb9e1e1092fc50240b69569007f93.tar.bz2
mv-620feabd032fb9e1e1092fc50240b69569007f93.tar.xz
mv-620feabd032fb9e1e1092fc50240b69569007f93.zip
Join deheader jobs into single jobs.
Also add deheader jobs with other flags.
-rw-r--r--.gitlab-ci.yml2171
-rwxr-xr-xtools/ci/jobs/deheader2.sh1
-rwxr-xr-xtools/ci/scripts/deheader.sh14
3 files changed, 96 insertions, 2090 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4858bc49d..0fb448615 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4375,2170 +4375,161 @@ gcc-7_SDL_default_old_test:
tags:
- docker
-clang-tidy:
- stage: build
- script:
- - ./tools/ci/jobs/clang_tidy.sh
- <<: *job-push
- variables:
- PACKAGES: clang clang-tidy
- 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
- FLAGS: "-readability-implicit-bool-cast,-clang-analyzer-optin.cplusplus.VirtualCall,-performance-unnecessary-value-param,-misc-unused-parameters,-modernize-use-default,-clang-analyzer-alpha.deadcode.UnreachableCode,-clang-analyzer-alpha.cplusplus.VirtualCall,-clang-analyzer-alpha.unix.Stream,-clang-analyzer-alpha.security.taint.TaintPropagation,-clang-analyzer-alpha.core.CastToStruct,-clang-analyzer-alpha.core.BoolAssignment"
- DFLAGS: "-DENABLE_LIBXML -DTMWA_SUPPORT -DDEBUGBUILD"
- INCLUDES: "-I/usr/include -I/usr/include/SDL -I/usr/include/libxml2"
- tags:
- - docker
-
-clang-tidy_sdl2:
- stage: build
- script:
- - ./tools/ci/jobs/clang_tidy.sh
- <<: *job-push
- variables:
- PACKAGES: clang clang-tidy
- libxml2-dev libcurl4-gnutls-dev libpng-dev
- libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
- FLAGS: "-readability-implicit-bool-cast,-clang-analyzer-optin.cplusplus.VirtualCall,-performance-unnecessary-value-param,-misc-unused-parameters,-modernize-use-default,-clang-analyzer-alpha.deadcode.UnreachableCode,-clang-analyzer-alpha.cplusplus.VirtualCall,-clang-analyzer-alpha.unix.Stream,-clang-analyzer-alpha.security.taint.TaintPropagation,-clang-analyzer-alpha.core.CastToStruct,-clang-analyzer-alpha.core.BoolAssignment,-cppcoreguidelines-pro-type-cstyle-cast"
- DFLAGS: "-DENABLE_LIBXML -DTMWA_SUPPORT -DDEBUGBUILD -DUSE_SDL2"
- INCLUDES: "-I/usr/include -I/usr/include/SDL2 -I/usr/include/libxml2"
- tags:
- - docker
-
-gcc-7_openglerrors_i386:
- stage: build
- script:
- - ./tools/ci/jobs/gcc7.sh --enable-openglerrors
- - ./tools/ci/scripts/runtests.sh
- <<: *job-push
- image: vicamo/debian:sid-i386
- variables:
- PACKAGES: gcc-7 g++-7
- make autoconf automake autopoint gettext
- 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
- gdb valgrind netcat-openbsd procps
-
-gcc-7_openglerrors:
- stage: build
- script:
- - ./tools/ci/jobs/gcc7.sh --enable-openglerrors
- - ./tools/ci/scripts/runtests.sh
- <<: *job-push
- variables:
- PACKAGES: gcc-7 g++-7
- make autoconf automake autopoint gettext
- 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
- gdb valgrind netcat-openbsd procps
-
-# deheader default
-
-deheader_gui_windows_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/windows -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_sdl2_gui_windows_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/windows -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_gui_windows_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/windows -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_sdl2_gui_windows_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/windows -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_gui_widgets_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/widgets -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_sdl2_gui_widgets_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/widgets -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_gui_widgets_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/widgets -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_sdl2_gui_widgets_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/widgets -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_gui_models_cpp:
+deheader_libxml_opengl_tmwa:
stage: build
script:
- export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- ./tools/ci/jobs/deheader.sh
- - find ./src/gui/models -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
+ - find ./src -type f \( -name "*.cpp" -o -name "*.h" \) -exec tools/ci/scripts/deheader.sh {} \;
- ./tools/ci/jobs/deheader2.sh
<<: *job-push
<<: *job-deheader_shared
-deheader_sdl2_gui_models_cpp:
+deheader_sdl2_libxml_opengl_tmwa:
stage: build
script:
- export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- ./tools/ci/jobs/deheader.sh
- - find ./src/gui/models -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
+ - find ./src -type f \( -name "*.cpp" -o -name "*.h" \) -exec tools/ci/scripts/deheader.sh {} \;
- ./tools/ci/jobs/deheader2.sh
<<: *job-push
<<: *job-deheader_sdl2_shared
-deheader_gui_models_withoutopengl_cpp:
+deheader_libxml_tmwa:
stage: build
script:
- export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- ./tools/ci/jobs/deheader.sh
- - find ./src/gui/models -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
+ - find ./src -type f \( -name "*.cpp" -o -name "*.h" \) -exec tools/ci/scripts/deheader.sh {} \;
- ./tools/ci/jobs/deheader2.sh
<<: *job-push
<<: *job-deheader_shared
-deheader_sdl2_gui_models_withoutopengl_cpp:
+deheader_sdl2_libxml_tmwa:
stage: build
script:
- export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- ./tools/ci/jobs/deheader.sh
- - find ./src/gui/models -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_actions_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/manaplus/actions -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_actions_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/actions -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_being_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/being -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_being_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/being -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_const_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/const -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_fs_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/fs -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_fs_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/fs -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_dyecmd_cpp:
- stage: build
- script:
- - export FLAGS="-DDYECMD -DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/dyecmd -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_dyecmd_h:
- stage: build
- script:
- - export FLAGS="-DDYECMD -DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/dyecmd -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_enums_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/enums -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_events_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/events -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_fonts_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/fonts -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_fonts_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/fonts -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_models_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/models -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_popups_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/popups -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_popups_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/popups -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_shortcut_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/shortcut -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_shortcut_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/shortcut -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_widgets_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/widgets -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_windows_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/windows -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui -type f -name "*.cpp" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui -type f -name "*.h" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_input_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/input -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_input_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/input -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_listeners_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/listeners -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_listeners_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/listeners -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_ea_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/ea -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_ea_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/ea -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_eathena_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/eathena -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_eathena_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/eathena -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_tmwa_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/tmwa -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_tmwa_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/tmwa -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net -type f -name "*.cpp" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net -type f -name "*.h" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_particle_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/particle -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_particle_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/particle -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_render_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/render -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_render_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/render -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_db_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/db -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_db_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/db -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_map_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/map -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_map_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/map -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources -type f -name "*.cpp" ! -path "./src/resources/db/*" ! -path "./src/resources/map/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources -type f -name "*.h" ! -path "./src/resources/db/*" ! -path "./src/resources/map/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_test_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/test -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_test_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/test -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_utils_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/utils -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_utils_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/utils -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.cpp" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.h" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_catch_cc:
- stage: build
- script:
- - export FLAGS="-DUNITTESTS -DUNITTESTS_CATCH -DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.cc" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-# deheader sdl2
-
-deheader_sdl2_actions_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/manaplus/actions -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_actions_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/actions -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_being_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/being -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_being_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/being -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_const_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/const -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_dyecmd_cpp:
- stage: build
- script:
- - export FLAGS="-DDYECMD -DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/dyecmd -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_dyecmd_h:
- stage: build
- script:
- - export FLAGS="-DDYECMD -DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/dyecmd -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_enums_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/enums -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_events_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/events -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_fonts_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/fonts -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_fonts_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/fonts -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_models_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/models -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_popups_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/popups -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_popups_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/popups -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_shortcut_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/shortcut -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_shortcut_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/shortcut -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_widgets_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/widgets -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_windows_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/windows -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui -type f -name "*.cpp" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui -type f -name "*.h" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_input_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/input -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_input_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/input -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_listeners_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/listeners -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_listeners_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/listeners -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_ea_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/ea -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_ea_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/ea -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_eathena_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/eathena -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_eathena_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/eathena -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_tmwa_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/tmwa -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_tmwa_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/tmwa -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net -type f -name "*.cpp" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net -type f -name "*.h" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_particle_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/particle -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_particle_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/particle -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_render_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/render -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_render_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/render -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_db_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/db -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_db_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/db -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_map_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/map -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_map_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/map -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources -type f -name "*.cpp" ! -path "./src/resources/db/*" ! -path "./src/resources/map/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources -type f -name "*.h" ! -path "./src/resources/db/*" ! -path "./src/resources/map/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_test_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/test -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_test_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/test -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_utils_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/utils -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_utils_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/utils -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.cpp" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.h" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \;
+ - find ./src -type f \( -name "*.cpp" -o -name "*.h" \) -exec tools/ci/scripts/deheader.sh {} \;
- ./tools/ci/jobs/deheader2.sh
<<: *job-push
<<: *job-deheader_sdl2_shared
-deheader_sdl2_catch_cc:
- stage: build
- script:
- - export FLAGS="-DUNITTESTS -DUNITTESTS_CATCH -DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.cc" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-# dehedeart without opengl
-
-deheader_actions_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/manaplus/actions -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_actions_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/actions -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_being_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/being -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_being_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/being -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_const_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/const -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_dyecmd_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DDYECMD -DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/dyecmd -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_dyecmd_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DDYECMD -DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/dyecmd -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_enums_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/enums -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_events_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/events -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_fonts_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/fonts -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_fonts_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/fonts -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_models_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/models -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_popups_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/popups -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_popups_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/popups -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_shortcut_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/shortcut -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_shortcut_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/shortcut -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_widgets_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/widgets -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_windows_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/windows -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui -type f -name "*.cpp" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_gui_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui -type f -name "*.h" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_input_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/input -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_input_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/input -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_listeners_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/listeners -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_listeners_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/listeners -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_ea_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/ea -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_ea_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/ea -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_eathena_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/eathena -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_eathena_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/eathena -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_tmwa_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/tmwa -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_tmwa_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/tmwa -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net -type f -name "*.cpp" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_net_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net -type f -name "*.h" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_particle_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/particle -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_particle_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/particle -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_render_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/render -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_render_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/render -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_db_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/db -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_db_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/db -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_map_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/map -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_map_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/map -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources -type f -name "*.cpp" ! -path "./src/resources/db/*" ! -path "./src/resources/map/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_resources_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources -type f -name "*.h" ! -path "./src/resources/db/*" ! -path "./src/resources/map/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_test_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/test -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_test_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/test -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_utils_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/utils -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_utils_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/utils -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_shared
-
-deheader_withoutopengl_cpp:
+deheader_tinyxml_opengl_tmwa:
stage: build
script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
+ - export FLAGS="-DENABLE_TINYXML2 -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT"
- ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.cpp" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \;
+ - find ./src -type f \( -name "*.cpp" -o -name "*.h" \) -exec tools/ci/scripts/deheader.sh {} \;
- ./tools/ci/jobs/deheader2.sh
<<: *job-push
- <<: *job-deheader_shared
+ variables:
+ GIT_DEPTH: "1"
+ INCLUDES: "-I/usr/include/SDL -I/usr/include/libxml2"
+ LOGFILE: logs/deheader.log
+ CXX: g++-5
+ PACKAGES: python wget
+ gcc-5 g++-5
+ 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
-deheader_withoutopengl_h:
+deheader_sdl2_tinyxml_opengl_tmwa:
stage: build
script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
+ - export FLAGS="-DENABLE_TINYXML2 -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.h" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \;
+ - find ./src -type f \( -name "*.cpp" -o -name "*.h" \) -exec tools/ci/scripts/deheader.sh {} \;
- ./tools/ci/jobs/deheader2.sh
<<: *job-push
- <<: *job-deheader_shared
+ variables:
+ GIT_DEPTH: "1"
+ INCLUDES: "-I/usr/include/SDL2 -I/usr/include/libxml2"
+ LOGFILE: logs/deheader.log
+ CXX: g++-5
+ PACKAGES: python wget
+ gcc-5 g++-5
+ libtinyxml2-dev libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
-deheader_withoutopengl_catch_cc:
+deheader_libxml_opengl:
stage: build
script:
- - export FLAGS="-DUNITTESTS -DUNITTESTS_CATCH -DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT"
+ - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11"
- ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.cc" -exec tools/ci/scripts/deheader.sh {} \;
+ - export skipPath="src/net/tmwa/"
+ - find ./src -type f \( -name "*.cpp" -o -name "*.h" \) -exec tools/ci/scripts/deheader.sh {} \;
- ./tools/ci/jobs/deheader2.sh
<<: *job-push
<<: *job-deheader_shared
-# deheader sdl2
-
-deheader_sdl2_actions_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/manaplus/actions -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_actions_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/actions -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_being_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/being -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_being_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/being -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_const_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/const -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_dyecmd_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DDYECMD -DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/dyecmd -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_dyecmd_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DDYECMD -DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/progs/dyecmd -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_enums_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/enums -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_events_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/events -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_fonts_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/fonts -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_fonts_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/fonts -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_models_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/models -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_popups_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/popups -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_popups_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/popups -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_shortcut_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/shortcut -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_shortcut_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/shortcut -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_widgets_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/widgets -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_windows_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui/windows -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui -type f -name "*.cpp" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_gui_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/gui -type f -name "*.h" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_input_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/input -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_input_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/input -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_listeners_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/listeners -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_listeners_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/listeners -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_ea_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/ea -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_ea_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/ea -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_eathena_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/eathena -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_eathena_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/eathena -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_tmwa_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/tmwa -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_tmwa_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net/tmwa -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net -type f -name "*.cpp" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_net_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/net -type f -name "*.h" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_particle_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/particle -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_particle_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/particle -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_render_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/render -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_render_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/render -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_db_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/db -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_db_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/db -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_map_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/map -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_map_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources/map -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources -type f -name "*.cpp" ! -path "./src/resources/db/*" ! -path "./src/resources/map/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_resources_withoutopengl_h:
+deheader_sdl2_libxml_opengl:
stage: build
script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/resources -type f -name "*.h" ! -path "./src/resources/db/*" ! -path "./src/resources/map/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_test_withoutopengl_cpp:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
+ - export FLAGS="-DENABLE_LIBXML -DUSE_OPENGL -DUSE_X11 -DUSE_SDL2"
- ./tools/ci/jobs/deheader.sh
- - find ./src/test -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
+ - export skipPath="src/net/tmwa/"
+ - find ./src -type f \( -name "*.cpp" -o -name "*.h" \) -exec tools/ci/scripts/deheader.sh {} \;
- ./tools/ci/jobs/deheader2.sh
<<: *job-push
<<: *job-deheader_sdl2_shared
-deheader_sdl2_test_withoutopengl_h:
- stage: build
- script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/test -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
-
-deheader_sdl2_utils_withoutopengl_cpp:
+clang-tidy:
stage: build
script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/utils -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
+ - ./tools/ci/jobs/clang_tidy.sh
<<: *job-push
- <<: *job-deheader_sdl2_shared
+ variables:
+ PACKAGES: clang clang-tidy
+ 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
+ FLAGS: "-readability-implicit-bool-cast,-clang-analyzer-optin.cplusplus.VirtualCall,-performance-unnecessary-value-param,-misc-unused-parameters,-modernize-use-default,-clang-analyzer-alpha.deadcode.UnreachableCode,-clang-analyzer-alpha.cplusplus.VirtualCall,-clang-analyzer-alpha.unix.Stream,-clang-analyzer-alpha.security.taint.TaintPropagation,-clang-analyzer-alpha.core.CastToStruct,-clang-analyzer-alpha.core.BoolAssignment"
+ DFLAGS: "-DENABLE_LIBXML -DTMWA_SUPPORT -DDEBUGBUILD"
+ INCLUDES: "-I/usr/include -I/usr/include/SDL -I/usr/include/libxml2"
+ tags:
+ - docker
-deheader_sdl2_utils_withoutopengl_h:
+clang-tidy_sdl2:
stage: build
script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src/utils -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
+ - ./tools/ci/jobs/clang_tidy.sh
<<: *job-push
- <<: *job-deheader_sdl2_shared
+ variables:
+ PACKAGES: clang clang-tidy
+ libxml2-dev libcurl4-gnutls-dev libpng-dev
+ libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
+ FLAGS: "-readability-implicit-bool-cast,-clang-analyzer-optin.cplusplus.VirtualCall,-performance-unnecessary-value-param,-misc-unused-parameters,-modernize-use-default,-clang-analyzer-alpha.deadcode.UnreachableCode,-clang-analyzer-alpha.cplusplus.VirtualCall,-clang-analyzer-alpha.unix.Stream,-clang-analyzer-alpha.security.taint.TaintPropagation,-clang-analyzer-alpha.core.CastToStruct,-clang-analyzer-alpha.core.BoolAssignment,-cppcoreguidelines-pro-type-cstyle-cast"
+ DFLAGS: "-DENABLE_LIBXML -DTMWA_SUPPORT -DDEBUGBUILD -DUSE_SDL2"
+ INCLUDES: "-I/usr/include -I/usr/include/SDL2 -I/usr/include/libxml2"
+ tags:
+ - docker
-deheader_sdl2_withoutopengl_cpp:
+gcc-7_openglerrors_i386:
stage: build
script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.cpp" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
+ - ./tools/ci/jobs/gcc7.sh --enable-openglerrors
+ - ./tools/ci/scripts/runtests.sh
<<: *job-push
- <<: *job-deheader_sdl2_shared
+ image: vicamo/debian:sid-i386
+ variables:
+ PACKAGES: gcc-7 g++-7
+ make autoconf automake autopoint gettext
+ 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
+ gdb valgrind netcat-openbsd procps
-deheader_sdl2_withoutopengl_h:
+gcc-7_openglerrors:
stage: build
script:
- - export FLAGS="-DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.h" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
+ - ./tools/ci/jobs/gcc7.sh --enable-openglerrors
+ - ./tools/ci/scripts/runtests.sh
<<: *job-push
- <<: *job-deheader_sdl2_shared
+ variables:
+ PACKAGES: gcc-7 g++-7
+ make autoconf automake autopoint gettext
+ 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
+ gdb valgrind netcat-openbsd procps
-deheader_sdl2_withoutopengl_catch_cc:
- stage: build
- script:
- - export FLAGS="-DUNITTESTS -DUNITTESTS_CATCH -DENABLE_LIBXML -DUSE_X11 -DTMWA_SUPPORT -DUSE_SDL2"
- - ./tools/ci/jobs/deheader.sh
- - find ./src -type f -name "*.cc" -exec tools/ci/scripts/deheader.sh {} \;
- - ./tools/ci/jobs/deheader2.sh
- <<: *job-push
- <<: *job-deheader_sdl2_shared
doxygen:
stage: build
diff --git a/tools/ci/jobs/deheader2.sh b/tools/ci/jobs/deheader2.sh
index 55e33d503..e5d25cee3 100755
--- a/tools/ci/jobs/deheader2.sh
+++ b/tools/ci/jobs/deheader2.sh
@@ -25,6 +25,7 @@ grep "deheader:" ${LOGFILE} \
| grep -v "deheader: remove <climits> from ./src/resources/map/map.cpp" \
| grep -v "deheader: remove <vector> from ./src/utils/vector.h" \
| grep -v "has more than one inclusion of \"resources/dye/dyepalette_replace" \
+| grep -v "/sdl2gfx/" \
| grep -v "deheader: remove <climits> from ./src/units.cpp" > ${LOGFILE2}
export DATA=$(cat ${LOGFILE2})
diff --git a/tools/ci/scripts/deheader.sh b/tools/ci/scripts/deheader.sh
index 4e142679b..f15417166 100755
--- a/tools/ci/scripts/deheader.sh
+++ b/tools/ci/scripts/deheader.sh
@@ -6,6 +6,19 @@ export name=${name#./src/}
export name=${name##*./}.h
export dir=$(pwd)
+if [[ $var =~ .*(/sdl2gfx/|src/debug/).* ]]
+then
+ exit 0
+fi
+
+if [ "$skipPath" != "" ];
+then
+ if [[ $var =~ .*($skipPath).* ]]
+ then
+ exit 0
+ fi
+fi
+
echo $1 >>${LOGFILE}
echo $1
@@ -24,4 +37,5 @@ grep -v "deheader: ./src/net/sdltcpnet.cpp has more than one inclusion of <netin
grep -v "deheader: remove <netinet/tcp.h> from ./src/net/sdltcpnet.cpp" | \
grep -v "deheader: remove <climits> from ./src/resources/db/unitsdb.cpp" | \
grep -v "portability requires" | \
+grep -v "SDL2_rotozoom.cpp" | \
tee -a ${LOGFILE}