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

        
         
            


              

                       
 
                      


                                 
                                                                                                       
 



                              
                 
         
                
                       
 

            
               

             
                                                                                   
                                      


                                
               
                                                  

                                
                                
                                         

                      
                    





                                                                                    
                                      



                                
                                                   


                                
                                         

                          

                    

             



                                                                                   
                    
                                 
                                                              


                            





                                                                                   
                    
                                   
                                                                


                              





                                                                                   
                    
                                 
                                                              


                            





                                                                                   
                    
                                   
                                                                


                              





                                                                                   
                    
                                 
                                                              


                            





                                                                                   
                    
                                   
                                                                       


                              





                                                                                   
                    
                                 
                                                                     


                            





                                                                                   
                    
                                   
                                                                       


                              





                                                                                   
                    
                                 
                                                                     


                            
            





                                                                                   
                    
                                   
                                                                       


                              

                    



                                                                                   
                    
                                 
                                                                     


                            





                                                                                   
                    
                                   
                                                                       


                              





                                                                                   
                    
                                 
                                                                     


                            





                                                                                   
                    
                                   
                                                                       


                              





                                                                                   
                    
                                   
                                                                       


                              





                                                                                   
                    
                                 
                                                                     


                            

                    
            


                                                                                   
                    
                                 
                                                                     


                            
                    




                                                                                   
                    
                                  
                                                                       


                             
                    




                                                                                   
                    
                                  
                                                                       


                             
                    





















                                                                                   


















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               



















                                                                                                                  
                               




















                                                                                                                  
                               



















                                                                                                                  
                               


                    











                                                                                                                               
                                                                                                          



















                                                                                                                               
                                                                                                          







                                                                                        
stages:
  - test
  - 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

# self tests

test:commands1:
  stage: test
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/runretry.sh ./getsrc.sh zlib
  - ls src/zlib
  - ./.ci/run.sh ./build.sh zlib
  - ls bin/zlib
  - ls tmp/zlib
  - grep "1.2.10" ./bin/zlib/lib/pkgconfig/zlib.pc
  - ./.ci/run.sh ./clean.sh zlib
  - mkdir bin/zlib
  - ./.ci/run.sh ./clean.sh zlib
  - ./.ci/runretry.sh ./updatesrc.sh zlib
  variables:
    srcbranch: v1.2.10
  <<: *job-artifacts

test:commands2:
  stage: test
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext 
                     zlib1g-dev libtool
  - ./.ci/runretry.sh ./getsrc.sh curl
  - ls src/curl
  - ./.ci/run.sh ./build.sh curl
  - ls bin/curl
  - ls tmp/curl
  - grep "7.51" ./bin/curl/lib/pkgconfig/libcurl.pc
  - ./.ci/run.sh ./clean.sh curl
  - mkdir bin/curl
  - ./.ci/run.sh ./clean.sh curl
  - ./.ci/runretry.sh ./updatesrc.sh curl
  variables:
    srcbranch: curl-7_51_0
  <<: *job-artifacts

# 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
  - /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_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
  - /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