summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml367
1 files changed, 367 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..28cde97a2
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,367 @@
+stages:
+ - build
+ - test
+ - success
+ - failure
+
+# simple builds
+
+gcc-4.4:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc44.sh
+ image: debian:oldstable
+
+gcc-4.6:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc46.sh
+ image: debian:oldstable
+
+gcc-4.7:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc47.sh
+ image: debian:oldstable
+
+clang-3.0:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang3.sh
+ image: debian:oldstable
+
+clang-3.4:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang34.sh
+ image: debian:stable
+
+clang-3.5:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang35.sh
+ image: debian:stable
+
+clang-3.9:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang39.sh
+ image: debian:unstable
+
+gcc-4.8_c++11:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc48_c++11.sh
+ image: debian:stable
+
+gcc-4.9:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc49.sh
+ image: debian:unstable
+
+gcc-4.9_c++11:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc49_c++11.sh
+ image: debian:unstable
+
+cmake_gcc-4.9:
+ stage: build
+ script:
+ - ./tools/ci/jobs/cmake_gcc49.sh
+ image: debian:unstable
+
+gcc-5:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh
+ image: debian:unstable
+
+gcc-5_c++11:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_c++11.sh
+ image: debian:unstable
+
+gcc-5_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2.sh
+ image: debian:unstable
+
+gcc-5_sdl2_c++11:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2_c++11.sh
+ image: debian:unstable
+
+gcc-snapshot:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gccsnapshot.sh
+ image: debian:unstable
+
+gcc-snapshot_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gccsnapshot_sdl2.sh
+ image: debian:unstable
+
+gcc-5_sanitize:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sanitize.sh
+ image: debian:unstable
+
+gcc_tmwa:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --without-opengl --enable-tmwa --disable-eathena
+ image: debian:unstable
+
+gcc_eathena:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --without-opengl --disable-tmwa --enable-eathena
+ image: debian:unstable
+
+gcc_tmwa_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2.sh --without-opengl --enable-tmwa --disable-eathena
+ image: debian:unstable
+
+gcc_tmwa_opengl:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --with-opengl --enable-tmwa --disable-eathena
+ image: debian:unstable
+
+gcc_tmwa_opengl_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2.sh --with-opengl --enable-tmwa --disable-eathena
+ image: debian:unstable
+
+gcc_tmwa_opengl_debug:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc49.sh --with-opengl --enable-tmwa --disable-eathena --enable-memdebug=yes
+ image: debian:unstable
+
+gcc_without_opengl:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --without-opengl
+ image: debian:unstable
+
+gcc_cilkplus:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc49.sh --enable-cilkplus
+ image: debian:unstable
+
+gcc_eathena_opengl:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --with-opengl --disable-tmwa --enable-eathena
+ image: debian:unstable
+
+gcc_eathena_opengl_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2.sh --with-opengl --disable-tmwa --enable-eathena
+ image: debian:unstable
+
+gcc_tmwa_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2.sh --without-opengl --enable-tmwa --disable-eathena
+ image: debian:unstable
+
+gcc_eathena:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --without-opengl --disable-tmwa --enable-eathena
+ image: debian:unstable
+
+gcc_eathena_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2.sh --without-opengl --disable-tmwa --enable-eathena
+ image: debian:unstable
+
+gcc_tmwa_opengl_portable:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --with-opengl --enable-tmwa --disable-eathena --enable-portable=yes
+ image: debian:unstable
+
+gcc_tmwa_opengl_portable_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2.sh --with-opengl --enable-tmwa --disable-eathena --enable-portable=yes
+ image: debian:unstable
+
+gcc_portable:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --with-opengl --enable-tmwa --enable-eathena --enable-portable=yes
+ image: debian:unstable
+
+gcc_tmwa_opengl_nonls:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5.sh --with-opengl --enable-tmwa --disable-eathena --disable-nls
+ image: debian:unstable
+
+gcc_tmwa_opengl_nonls_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2.sh --with-opengl --enable-tmwa --disable-eathena --disable-nls
+ image: debian:unstable
+
+gcc_eathena_c++11:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_c++11.sh --without-opengl --disable-tmwa --enable-eathena
+ image: debian:unstable
+
+gcc_tmwa_sdl2_c++11:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2_c++11.sh --without-opengl --enable-tmwa --disable-eathena
+ image: debian:unstable
+
+gcc_tmwa_c++11:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_c++11.sh --without-opengl --enable-tmwa --disable-eathena
+ image: debian:unstable
+
+gcc_eathena_sdl2_c++11:
+ stage: build
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2_c++11.sh --without-opengl --disable-tmwa --enable-eathena
+ image: debian:unstable
+
+clang-3.9_sdl2:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang39_sdl2.sh
+ image: debian:unstable
+
+# tests
+
+gcc-5_tests:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_tests.sh
+ image: debian:unstable
+
+gcc-5_lto:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_lto.sh
+ image: debian:unstable
+
+gcc-5_sanitize_tests:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_sanitize_tests.sh
+ image: debian:unstable
+
+gcc-5_sdl2_tests:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_sdl2_tests.sh
+ image: debian:unstable
+
+gcc-5_h_eathena:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DEATHENA_SUPPORT -DENABLE_LIBXML
+ image: debian:unstable
+
+gcc-5_h_eathena_pugi:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_h_pugi.sh -std=c++0x -DDEBUGBUILD -DEATHENA_SUPPORT -DENABLE_PUGIXML
+ image: debian:unstable
+
+gcc-5_h_eathena_opengl:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_OPENGL -DENABLE_LIBXML
+ image: debian:unstable
+
+gcc-5_h_eathena_opengl_pugi:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_h_pugi.sh -std=c++0x -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_OPENGL -DENABLE_PUGIXML
+ image: debian:unstable
+
+gcc-5_h_eathena_nsl:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DEATHENA_SUPPORT -DENABLE_NLS -DENABLE_LIBXML
+ image: debian:unstable
+
+gcc-5_h_eathena_tmwa:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DEATHENA_SUPPORT -DTMWA_SUPPORT -DENABLE_LIBXML
+ image: debian:unstable
+
+gcc-5_h_all:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_h.sh -std=c++0x -DDEBUGBUILD -DEATHENA_SUPPORT -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_LIBXML
+ image: debian:unstable
+
+gcc-5_h_pugi_all:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_h_pugi.sh -std=c++0x -DDEBUGBUILD -DEATHENA_SUPPORT -DTMWA_SUPPORT -DENABLE_NLS -DUSE_OPENGL -DENABLE_PUGIXML
+ image: debian:unstable
+
+gcc-5_tarball:
+ stage: test
+ script:
+ - ./tools/ci/jobs/gcc5_tarball.sh
+ image: debian:unstable
+
+mplint_po:
+ stage: test
+ script:
+ - ./tools/ci/jobs/mplint.sh po
+ image: debian:unstable
+
+mplint_src:
+ stage: test
+ script:
+ - ./tools/ci/jobs/mplint.sh src
+ image: debian:unstable
+
+mplint_data:
+ stage: test
+ script:
+ - ./tools/ci/jobs/mplint.sh data
+ image: debian:unstable
+
+# reports
+
+success:
+ stage: success
+ script:
+ - ./tools/ci/jobs/success.sh
+ image: debian:unstable
+ when: on_success
+
+failure:
+ stage: failure
+ script:
+ - ./tools/ci/jobs/failure.sh
+ image: debian:unstable
+ when: on_failure