summaryrefslogblamecommitdiff
path: root/.gitlab-ci.yml
blob: 739fbc7113bf300be26a6a347591a268b699bdf0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
       
            




           


              













                              







                            





                            











                            





                            

















                              
                 




                                       

































































                                       





                                    

















































































































































                                                                                                    





                                 
          

             
                               































                                                                                                    






                                                    





















































                                                                                                                                      





                              




                
                     





                        
                     

                        
stages:
  - prebuild
  - build
  - test
  - success
  - failure

before_script:
  - uname -a

# pre build

clang-3.9:
  stage: prebuild
  script:
  - ./tools/ci/jobs/clang39.sh
  image: debian:unstable

gcc-6:
  stage: prebuild
  script:
  - ./tools/ci/jobs/gcc6.sh
  image: debian:unstable

# simple builds

gcc-4.4:
  stage: build
  script:
  - ./tools/ci/jobs/gcc44.sh
  image: debian:oldstable

gcc-4.5:
  stage: build
  script:
  - ./tools/ci/jobs/gcc45.sh
  image: ubuntu:12.04

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

gcc-4.8:
  stage: build
  script:
  - ./tools/ci/jobs/gcc48.sh
  image: debian:stable

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_c++11:
  stage: build
  script:
  - ./tools/ci/jobs/clang39.sh_c++11.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-6_sanitize:
  stage: build
  script:
  - ./tools/ci/jobs/gcc6_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-6_tests:
  stage: test
  script:
  - ./tools/ci/jobs/gcc6_tests.sh
  image: debian:unstable

gcc-6_lto:
  stage: test
  script:
  - ./tools/ci/jobs/gcc6_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

fake_build:
  stage: test
  script:
  - echo "fake build for workaround gitlab ci issue"
  image: debian:unstable
  allow_failure: true

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

cpplint:
  stage: test
  script:
  - ./tools/ci/jobs/cpplint.sh
  image: debian:unstable

# reports

success:
  stage: success
  script:
  - echo "do nothing"
  image: debian:unstable
  when: on_success

failure:
  stage: failure
  script:
  - echo "do nothing"
  image: debian:unstable
  when: on_failure