diff options
-rw-r--r-- | .gitlab-ci.yml | 1460 | ||||
-rwxr-xr-x | tools/ci/jobs/deheader.sh | 17 | ||||
-rwxr-xr-x | tools/ci/jobs/deheader2.sh | 29 | ||||
-rwxr-xr-x | tools/ci/jobs/deheader_sdl2.sh | 17 | ||||
-rwxr-xr-x | tools/ci/scripts/deheader.sh | 21 |
5 files changed, 1544 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ccde7011..7ea2548ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -718,6 +718,1466 @@ gcc-5_tarball: tags: - docker +# deheader default + +deheader_actions_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/actions -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_actions_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/actions -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_being_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/being -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_being_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/being -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_const_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/const -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_dyetool_cpp: + stage: build + script: + - export FLAGS="-DDYECMD -DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/dyetool -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_dyetool_h: + stage: build + script: + - export FLAGS="-DDYECMD -DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/dyetool -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_enums_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/enums -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_events_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/events -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_fonts_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/fonts -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_fonts_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/fonts -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_models_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/models -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_models_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/models -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_popups_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/popups -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_popups_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/popups -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_shortcut_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/shortcut -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_shortcut_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/shortcut -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_widgets_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/widgets -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_widgets_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/widgets -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_windows_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/windows -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_windows_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/gui/windows -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_gui_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./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 + image: debian:unstable + tags: + - docker + +deheader_gui_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./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 + image: debian:unstable + tags: + - docker + +deheader_input_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/input -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_input_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/input -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_listeners_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/listeners -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_listeners_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/listeners -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_net_ea_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/net/ea -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_net_ea_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/net/ea -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_net_eathena_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/net/eathena -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_net_eathena_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/net/eathena -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_net_tmwa_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/net/tmwa -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_net_tmwa_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/net/tmwa -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_net_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./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 + image: debian:unstable + tags: + - docker + +deheader_net_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./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 + image: debian:unstable + tags: + - docker + +deheader_particle_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/particle -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_particle_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/particle -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_render_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/render -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_render_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/render -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_resources_db_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/resources/db -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_resources_db_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/resources/db -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_resources_map_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/resources/map -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_resources_map_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/resources/map -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_resources_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./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 + image: debian:unstable + tags: + - docker + +deheader_resources_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./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 + image: debian:unstable + tags: + - docker + +deheader_test_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/test -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_test_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/test -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_utils_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/utils -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_utils_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src/utils -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src -type f -name "*.cpp" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src -type f -name "*.h" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_cc: + stage: build + script: + - export FLAGS="-DUNITTESTS -DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT" + - export INCLUDES="-I/usr/include/SDL -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader.sh + - find ./src -type f -name "*.cc" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +# deheader sdl2 + +deheader_sdl2_actions_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/actions -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_actions_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/actions -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_being_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/being -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_being_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/being -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_const_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/const -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_dyetool_cpp: + stage: build + script: + - export FLAGS="-DDYECMD -DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/dyetool -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_dyetool_h: + stage: build + script: + - export FLAGS="-DDYECMD -DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/dyetool -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_enums_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/enums -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_events_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/events -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_fonts_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/fonts -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_fonts_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/fonts -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_models_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/models -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_models_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/models -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_popups_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/popups -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_popups_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/popups -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_shortcut_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/shortcut -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_shortcut_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/shortcut -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_widgets_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/widgets -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_widgets_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/widgets -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_windows_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/windows -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_windows_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui/windows -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui -type f -name "*.cpp" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_gui_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/gui -type f -name "*.h" ! -path "./src/gui/*/*" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_input_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/input -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_input_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/input -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_listeners_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/listeners -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_listeners_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/listeners -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_net_ea_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/net/ea -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_net_ea_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/net/ea -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_net_eathena_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/net/eathena -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_net_eathena_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/net/eathena -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_net_tmwa_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/net/tmwa -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_net_tmwa_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/net/tmwa -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_net_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/net -type f -name "*.cpp" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_net_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/net -type f -name "*.h" ! -path "./src/net/*/*" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_particle_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/particle -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_particle_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/particle -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_render_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/render -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_render_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/render -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_resources_db_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/resources/db -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_resources_db_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/resources/db -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_resources_map_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/resources/map -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_resources_map_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/resources/map -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_resources_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.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 + image: debian:unstable + tags: + - docker + +deheader_sdl2_resources_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.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 + image: debian:unstable + tags: + - docker + +deheader_sdl2_test_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/test -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_test_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/test -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_utils_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/utils -type f -name "*.cpp" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_utils_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src/utils -type f -name "*.h" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_cpp: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src -type f -name "*.cpp" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_h: + stage: build + script: + - export FLAGS="-DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src -type f -name "*.h" ! -path "./src/*/*" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + +deheader_sdl2_cc: + stage: build + script: + - export FLAGS="-DUNITTESTS -DENABLE_LIBXML -DENABLE_MEM_DEBUG -DUSE_OPENGL -DUSE_X11 -DTMWA_SUPPORT -DEATHENA_SUPPORT -DUSE_SDL2" + - export INCLUDES="-I/usr/include/SDL2 -I/usr/include/libxml2" + - export CXX=g++-5 + - export LOGFILE=deheader.log + - ./tools/ci/jobs/deheader_sdl2.sh + - find ./src -type f -name "*.cc" -exec tools/ci/scripts/deheader.sh {} \; + - ./tools/ci/jobs/deheader2.sh + image: debian:unstable + tags: + - docker + # reports success: diff --git a/tools/ci/jobs/deheader.sh b/tools/ci/jobs/deheader.sh new file mode 100755 index 000000000..834d8b8b5 --- /dev/null +++ b/tools/ci/jobs/deheader.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +export LOGFILE2=deheader2.log + +source ./tools/ci/scripts/init.sh + +aptget_install python wget \ + gcc-5 g++-5 \ + 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 + +export dir=$(pwd) + +rm deheader +wget "https://gitlab.com/4144/deheader/raw/master/deheader" +chmod +x deheader diff --git a/tools/ci/jobs/deheader2.sh b/tools/ci/jobs/deheader2.sh new file mode 100755 index 000000000..94cf60cbe --- /dev/null +++ b/tools/ci/jobs/deheader2.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +export LOGFILE2=deheader2.log + +export DATA=$(cat ${LOGFILE}) +if [[ -z "${DATA}" ]]; then + echo "Empty output. Probably wrong search flags." + exit 1 +fi + +export DATA=$(grep "error:" ${LOGFILE}) +if [[ -n "${DATA}" ]]; then + echo "Compilation error found" + exit 1 +fi + +grep "deheader:" ${LOGFILE} \ +| grep -v "deheader: remove <climits> from ./src/being/localplayer.cpp" \ +| grep -v "deheader: remove <fstream> from ./src/utils/files.cpp" \ +| grep -v "deheader: remove <climits> from ./src/resources/map/map.cpp" \ +| grep -v "deheader: remove <sys/time.h> from ./src/resources/wallpaper.cpp" \ +| grep -v "deheader: remove <climits> from ./src/units.cpp" > ${LOGFILE2} + +export DATA=$(cat ${LOGFILE2}) +if [[ -n "${DATA}" ]]; then + echo "Wrong include files found" + echo ${DATA} + exit 1 +fi diff --git a/tools/ci/jobs/deheader_sdl2.sh b/tools/ci/jobs/deheader_sdl2.sh new file mode 100755 index 000000000..2c7920956 --- /dev/null +++ b/tools/ci/jobs/deheader_sdl2.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +export LOGFILE2=deheader2.log + +source ./tools/ci/scripts/init.sh + +aptget_install python wget \ + gcc-5 g++-5 \ + libphysfs-dev \ + libxml2-dev libcurl4-gnutls-dev libpng-dev \ + libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev + +export dir=$(pwd) + +rm deheader +wget "https://gitlab.com/4144/deheader/raw/master/deheader" +chmod +x deheader diff --git a/tools/ci/scripts/deheader.sh b/tools/ci/scripts/deheader.sh new file mode 100755 index 000000000..4106b0308 --- /dev/null +++ b/tools/ci/scripts/deheader.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +export var=$1 +export name=${var%.*} +export name=${name#./src/} +export name=${name##*./}.h +export dir=$(pwd) + +echo $1 >>${LOGFILE} +echo $1 + +${dir}/deheader -q -i "\"debug.h\"" \ +-i "\"utils/checkutils.h\"" \ +-i "\"utils/sdlcheckutils.h\"" \ +-i "\"sdlshared.h\"" \ +-i "\"localconsts.h\"" \ +-i "\"utils/fuzzer.h\"" \ +-i "\"utils/physfscheckutils.h\"" \ +-i "\"$name\"" \ +-m "$CXX -c -std=gnu++1z -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" $FLAGS -I/usr/include $INCLUDES -I${dir}/src" $1 \ +| grep -v "portability requires" | tee -a ${LOGFILE} |