summaryrefslogblamecommitdiff
path: root/.gitlab-ci.yml
blob: 2915dcabee083f223fb2c313036f08a2c0102f3d (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
    - 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
                     zlib1g-dev libtool
  - ./.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

curl_curl-7_9_8:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_9_8
  - grep "7.9.8" /usr/local/spm/bin/curl_curl-7_9_8/bin/curl-config
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_9_8
  <<: *job-artifacts

curl_curl-7_40_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_40_0
  - grep "7.40" /usr/local/spm/bin/curl_curl-7_40_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_40_0
  <<: *job-artifacts

curl_curl-7_41_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_41_0
  - grep "7.41" /usr/local/spm/bin/curl_curl-7_41_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_41_0
  <<: *job-artifacts

curl_curl-7_42_1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_42_1
  - grep "7.42" /usr/local/spm/bin/curl_curl-7_42_1/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_42_1
  <<: *job-artifacts

curl_curl-7_43_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_43_0
  - grep "7.43" /usr/local/spm/bin/curl_curl-7_43_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_43_0
  <<: *job-artifacts

curl_curl-7_44_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_44_0
  - grep "7.44" /usr/local/spm/bin/curl_curl-7_44_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_44_0
  <<: *job-artifacts

curl_curl-7_45_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_45_0
  - grep "7.45" /usr/local/spm/bin/curl_curl-7_45_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_45_0
  <<: *job-artifacts

curl_curl-7_46_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_46_0
  - grep "7.46" /usr/local/spm/bin/curl_curl-7_46_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_46_0
  <<: *job-artifacts

curl_curl-7_47_1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_47_1
  - grep "7.47" /usr/local/spm/bin/curl_curl-7_47_1/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_47_1
  <<: *job-artifacts

curl_curl-7_48_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_48_0
  - grep "7.48" /usr/local/spm/bin/curl_curl-7_48_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_48_0
  <<: *job-artifacts

curl_curl-7_49_1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_49_1
  - grep "7.49" /usr/local/spm/bin/curl_curl-7_49_1/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_49_1
  <<: *job-artifacts

curl_curl-7_50_3:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_50_3
  - grep "7.50" /usr/local/spm/bin/curl_curl-7_50_3/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_50_3
  <<: *job-artifacts

curl_curl-7_51_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_51_0
  - grep "7.51" /usr/local/spm/bin/curl_curl-7_51_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_51_0
  <<: *job-artifacts

curl_curl-7_52_1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_52_1
  - grep "7.52" /usr/local/spm/bin/curl_curl-7_52_1/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_52_1
  <<: *job-artifacts

curl_curl-7_53_1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_53_1
  - grep "7.53" /usr/local/spm/bin/curl_curl-7_53_1/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_53_1
  <<: *job-artifacts

curl_curl-7_54_1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_54_1
  - grep "7.54" /usr/local/spm/bin/curl_curl-7_54_1/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_54_1
  <<: *job-artifacts

curl_curl-7_55_1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_55_1
  - grep "7.55" /usr/local/spm/bin/curl_curl-7_55_1/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_55_1
  <<: *job-artifacts

curl_curl-7_56_1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_56_1
  - grep "7.56" /usr/local/spm/bin/curl_curl-7_56_1/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_56_1
  <<: *job-artifacts

curl_curl-7_57_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_57_0
  - grep "7.57" /usr/local/spm/bin/curl_curl-7_57_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_57_0
  <<: *job-artifacts

curl_curl-7_58_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_58_0
  - grep "7.58" /usr/local/spm/bin/curl_curl-7_58_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_58_0
  <<: *job-artifacts

curl_curl-7_59_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_59_0
  - grep "7.59" /usr/local/spm/bin/curl_curl-7_59_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_59_0
  <<: *job-artifacts

curl_curl-7_60_0:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
                     zlib1g-dev libtool
  - ./.ci/copyspm.sh
  - ./.ci/buildlib.sh curl curl-7_60_0
  - grep "7.60" /usr/local/spm/bin/curl_curl-7_60_0/lib/pkgconfig/libcurl.pc
  - ./.ci/copyfinal.sh
  variables:
    installname: curl_curl-7_60_0
  <<: *job-artifacts

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

#manaplus

manaplus_curl-7_9_8:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_9_8
  dependencies:
    - curl_curl-7_9_8
  <<: *job-artifacts

manaplus_curl-7_40_0:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_40_0
  dependencies:
    - curl_curl-7_40_0
  <<: *job-artifacts

manaplus_curl-7_52_1:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_52_1
  dependencies:
    - curl_curl-7_52_1
  <<: *job-artifacts

manaplus_curl-7_53_1:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_53_1
  dependencies:
    - curl_curl-7_53_1
  <<: *job-artifacts

manaplus_curl-7_54_1:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_54_1
  dependencies:
    - curl_curl-7_54_1
  <<: *job-artifacts

manaplus_curl-7_55_1:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_55_1
  dependencies:
    - curl_curl-7_55_1
  <<: *job-artifacts

manaplus_curl-7_56_1:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_56_1
  dependencies:
    - curl_curl-7_56_1
  <<: *job-artifacts

manaplus_curl-7_57_0:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_57_0
  dependencies:
    - curl_curl-7_57_0
  <<: *job-artifacts

manaplus_curl-7_58_0:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_58_0
  dependencies:
    - curl_curl-7_58_0
  <<: *job-artifacts

manaplus_curl-7_59_0:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_59_0
  dependencies:
    - curl_curl-7_59_0
  <<: *job-artifacts

manaplus_curl-7_60_0:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: curl-7_60_0
  dependencies:
    - curl_curl-7_60_0
  <<: *job-artifacts

manaplus_master:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: master
  dependencies:
    - curl_master
  <<: *job-artifacts

manaplus_master_no_oldies:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: master
    POST_CXXFLAGS: "-DCURL_NO_OLDIES"
  dependencies:
    - curl_master
  <<: *job-artifacts

manaplus_master_asan_tests:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: master
    ASAN_OPTIONS: "detect_leaks=0"
    JOBS: 1
  dependencies:
    - curl_master
  <<: *job-artifacts

manaplus_master_asan:
  stage: manaplus
  script:
  - ./.ci/install.sh gcc-7 g++-7 
                     make autoconf automake autopoint gettext 
                     libxml2-dev libpng-dev zlib1g-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: curl
    LIBVERSION: master
  dependencies:
    - curl_master
  <<: *job-artifacts