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


              

                       
 
                      


                                 
                                                                                                       
 



                              
                 
         
                
                       
 

             
             


                                                                                   
                    
                                 
                                                              


                            

                    
               


                                                                                   
                    
                                   
                                                                


                              

                    
             


                                                                                   
                    
                                 
                                                              


                            

                    
               


                                                                                   
                    
                                   
                                                                


                              

                    
             


                                                                                   
                    
                                 
                                                              


                            

                    
               


                                                                                   
                    
                                   
                                                                       


                              

                    
             


                                                                                   
                    
                                 
                                                                     


                            

                    
               


                                                                                   
                    
                                   
                                                                       


                              

                    
             


                                                                                   
                    
                                 
                                                                     


                            
            

                    
               


                                                                                   
                    
                                   
                                                                       


                              

                    
             


                                                                                   
                    
                                 
                                                                     


                            

                    
               


                                                                                   
                    
                                   
                                                                       


                              

                    
             


                                                                                   
                    
                                 
                                                                     


                            

                    
               


                                                                                   
                    
                                   
                                                                       


                              

                    
               


                                                                                   
                    
                                   
                                                                       


                              

                    
             


                                                                                   
                    
                                 
                                                                     


                            

                    
            


                                                                                   
                    
                                 
                                                                     


                            
                    




                                                                                   
                    
                                  
                                                                       


                             
                    




                                                                                   
                    
                                  
                                                                       


                             
                    





















                                                                                   


 
                 














                                                                                                                  
                               



                    
                   














                                                                                                                  
                               



                    
                 














                                                                                                                  
                               



                    
                   














                                                                                                                  
                               



                    
                 














                                                                                                                  
                               



                    
                   














                                                                                                                  
                               



                    
                 














                                                                                                                  
                               



                    
                   














                                                                                                                  
                               



                    
                 














                                                                                                                  
                               



                    
                   














                                                                                                                  
                               



                    
                 














                                                                                                                  
                               



                    
                   














                                                                                                                  
                               



                    
                 














                                                                                                                  
                               



                    
                   














                                                                                                                  
                               



                    
                   














                                                                                                                  
                               



                    
                 














                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               




















                                                                                                                  
                               



















                                                                                                                  
                               


                    











                                                                                                                               
                                                                                                          







                               
                         









                                                                                                                               
                                                                                                          






                               


















































































                                                                                                                                                               
stages:
  - build
  - manaplus

before_script:
  - uname -a
  - cat /etc/os-release
  - mkdir logs || true

image: debian:unstable
variables:
  GET_SOURCES_ATTEMPTS: "5"
  ARTIFACT_DOWNLOAD_ATTEMPTS: "5"
  MANAPLUS_CLONE: "git clone --branch master --depth 1 https://gitlab.com/manaplus/manaplus.git cloned"

.job-artifacts: &job-artifacts
  artifacts:
    paths:
    - logs
    - cloned/logs
    - bin
    when: always
    expire_in: 3 months

# zlib builds

.zlib_v1.2.1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.1
  - grep "1.2.1" /usr/local/spm/bin/zlib_v1.2.1/include/zlib.h
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.1
  <<: *job-artifacts

.zlib_v1.2.1.2:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.1.2
  - grep "1.2.1" /usr/local/spm/bin/zlib_v1.2.1.2/include/zlib.h
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.1.2
  <<: *job-artifacts

.zlib_v1.2.2:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.2
  - grep "1.2.2" /usr/local/spm/bin/zlib_v1.2.2/include/zlib.h
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.2
  <<: *job-artifacts

.zlib_v1.2.2.4:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.2.4
  - grep "1.2.2" /usr/local/spm/bin/zlib_v1.2.2.4/include/zlib.h
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.2.4
  <<: *job-artifacts

.zlib_v1.2.3:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.3
  - grep "1.2.3" /usr/local/spm/bin/zlib_v1.2.3/include/zlib.h
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.3
  <<: *job-artifacts

.zlib_v1.2.3.9:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.3.9
  - grep "1.2.3" /usr/local/spm/bin/zlib_v1.2.3.9/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.3.9
  <<: *job-artifacts

.zlib_v1.2.4:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.4
  - grep "1.2.4" /usr/local/spm/bin/zlib_v1.2.4/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.4
  <<: *job-artifacts

.zlib_v1.2.4.5:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.4.5
  - grep "1.2.4" /usr/local/spm/bin/zlib_v1.2.4.5/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.4.5
  <<: *job-artifacts

.zlib_v1.2.5:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.5
  - grep "1.2.5" /usr/local/spm/bin/zlib_v1.2.5/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.5
    retry: 1
  <<: *job-artifacts

.zlib_v1.2.5.3:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.5.3
  - grep "1.2.5" /usr/local/spm/bin/zlib_v1.2.5.3/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.5.3
  <<: *job-artifacts

.zlib_v1.2.6:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.6
  - grep "1.2.6" /usr/local/spm/bin/zlib_v1.2.6/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.6
  <<: *job-artifacts

.zlib_v1.2.6.1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.6.1
  - grep "1.2.6" /usr/local/spm/bin/zlib_v1.2.6.1/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.6.1
  <<: *job-artifacts

.zlib_v1.2.7:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.7
  - grep "1.2.7" /usr/local/spm/bin/zlib_v1.2.7/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.7
  <<: *job-artifacts

.zlib_v1.2.7.1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.7.1
  - grep "1.2.7" /usr/local/spm/bin/zlib_v1.2.7.1/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.7.1
  <<: *job-artifacts

.zlib_v1.2.7.3:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.7.3
  - grep "1.2.7" /usr/local/spm/bin/zlib_v1.2.7.3/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.7.3
  <<: *job-artifacts

.zlib_v1.2.8:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.8
  - grep "1.2.8" /usr/local/spm/bin/zlib_v1.2.8/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.8
  <<: *job-artifacts

zlib_v1.2.9:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.9
  - grep "1.2.9" /usr/local/spm/bin/zlib_v1.2.9/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.9
  <<: *job-artifacts

zlib_v1.2.10:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.10
  - grep "1.2.10" /usr/local/spm/bin/zlib_v1.2.10/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.10
  <<: *job-artifacts

zlib_v1.2.11:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib v1.2.11
  - grep "1.2.11" /usr/local/spm/bin/zlib_v1.2.11/lib/pkgconfig/zlib.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_v1.2.11
  <<: *job-artifacts

zlib_master:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib master
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_master
  <<: *job-artifacts

zlib_develop:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh zlib develop
  - ./.ci/copyfinal.sh
  variables:
    installname: zlib_develop
  <<: *job-artifacts



.manaplus_v1.2.1:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.1
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.1
  <<: *job-artifacts

.manaplus_v1.2.1.2:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.1.2
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.1.2
  <<: *job-artifacts

.manaplus_v1.2.2:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.2
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.2
  <<: *job-artifacts

.manaplus_v1.2.2.4:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.2.4
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.2.4
  <<: *job-artifacts

.manaplus_v1.2.3:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.3
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.3
  <<: *job-artifacts

.manaplus_v1.2.3.9:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.3.9
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.3.9
  <<: *job-artifacts

.manaplus_v1.2.4:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.4
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.4
  <<: *job-artifacts

.manaplus_v1.2.4.5:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.4.5
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.4.5
  <<: *job-artifacts

.manaplus_v1.2.5:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.5
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.5
  <<: *job-artifacts

.manaplus_v1.2.5.3:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.5.3
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.5.3
  <<: *job-artifacts

.manaplus_v1.2.6:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.6
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.6
  <<: *job-artifacts

.manaplus_v1.2.6.1:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.6.1
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.6.1
  <<: *job-artifacts

.manaplus_v1.2.7:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.7
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.7
  <<: *job-artifacts

.manaplus_v1.2.7.1:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.7.1
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.7.1
  <<: *job-artifacts

.manaplus_v1.2.7.3:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.7.3
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.7.3
  <<: *job-artifacts

.manaplus_v1.2.8:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.8
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.8
  <<: *job-artifacts

manaplus_v1.2.9:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.9
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.9
  <<: *job-artifacts

manaplus_v1.2.10:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.10
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.10
  <<: *job-artifacts

manaplus_v1.2.11:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.11
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.11
  <<: *job-artifacts


manaplus_master:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: master
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_master
  <<: *job-artifacts

manaplus_develop:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7.sh
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: develop
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_develop
  <<: *job-artifacts

manaplus_master_tests:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_tests.sh --without-dyecmd --without-manaplusgame
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplustests
  variables:
    LIBNAME: zlib
    LIBVERSION: master
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_master
  <<: *job-artifacts

.manaplus_v1.2.3.9_tests:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_tests.sh --without-dyecmd --without-manaplusgame
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplustests
  variables:
    LIBNAME: zlib
    LIBVERSION: v1.2.3.9
    POST_CXXFLAGS: "-Wno-undef"
  dependencies:
    - zlib_v1.2.3.9
  <<: *job-artifacts


manaplus_master_asan_tests:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_sanitize_tests.sh --enable-unittests=yes --without-manaplusgame --without-dyecmd
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplustests
  variables:
    LIBNAME: zlib
    LIBVERSION: master
    ASAN_OPTIONS: "detect_leaks=0"
    JOBS: 1
  dependencies:
    - zlib_master
  <<: *job-artifacts

manaplus_master_asan:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_sanitize.sh --without-dyecmd
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: master
  dependencies:
    - zlib_master
  <<: *job-artifacts

manaplus_develop_asan_tests:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_sanitize_tests.sh --enable-unittests=yes --without-manaplusgame --without-dyecmd
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplustests
  variables:
    LIBNAME: zlib
    LIBVERSION: develop
    ASAN_OPTIONS: "detect_leaks=0"
    JOBS: 1
  dependencies:
    - zlib_develop
  <<: *job-artifacts

manaplus_develop_asan:
  stage: manaplus
  script:
  - ./.ci/install.sh 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
                     git wget unzip gdb valgrind netcat-openbsd procps
  - ./.ci/clonesrc.sh
  - cd cloned
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/jobs/gcc7_sanitize.sh --without-dyecmd
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/checkldd.sh src/manaplus
  - /usr/local/spm/bin/${LIBNAME}_${LIBVERSION}/runenv.sh ./tools/ci/scripts/runtests.sh
  variables:
    LIBNAME: zlib
    LIBVERSION: develop
  dependencies:
    - zlib_develop
  <<: *job-artifacts