diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-10 02:11:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-12 02:38:26 +0300 |
commit | d8f9061adf2d255bbe7b2b27f0fa892ef881c305 (patch) | |
tree | 8b8c5f98cbf629de468f2d994187589a8d59e48f /.gitlab-ci.yml | |
parent | b8d27351265af33d880a18239dd91068b2d2a2bd (diff) | |
download | manaplus-d8f9061adf2d255bbe7b2b27f0fa892ef881c305.tar.gz manaplus-d8f9061adf2d255bbe7b2b27f0fa892ef881c305.tar.bz2 manaplus-d8f9061adf2d255bbe7b2b27f0fa892ef881c305.tar.xz manaplus-d8f9061adf2d255bbe7b2b27f0fa892ef881c305.zip |
add .gitlab-ci.yml and script for it.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 367 |
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 |