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

        
         



              
                      


                                 
 



                              
         
                
                       
 

            
               

             
                                                                                   
                                 


                                
               
                                                  

                                
                                
                                    

                      
                    










                                                                                    
                                                   



                                    

                          

                    

             




                                                                                   
                                                                     






                                                                                   
                                                                       






                                                                                   
                                                                     






                                                                                   
                                                                       






                                                                                   
                                                                     






                                                                                   
                                                                       






                                                                                   
                                                                     






                                                                                   
                                                                       






                                                                                   
                                                                     






                                                                                   
                                                                       

                    




                                                                                   
                                                                     






                                                                                   
                                                                       






                                                                                   
                                                                     






                                                                                   
                                                                       






                                                                                   
                                                                       






                                                                                   
                                                                     

                    
            


                                                                                   
                                 
                                                                     
                    





                                                                                   
                                                                       
                    





                                                                                   


                                                                       
                



                                                                                   
                    
stages:
  - test
  - build

before_script:
  - uname -a

image: debian:unstable
variables:
  GET_SOURCES_ATTEMPTS: "5"
  ARTIFACT_DOWNLOAD_ATTEMPTS: "5"

.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
  - ./.ci/run.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/run.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/run.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/run.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/buildlib.sh zlib v1.2.1
  - grep "1.2.1" /usr/local/spm/bin/zlib_v1.2.1/lib/pkgconfig/zlib.pc
  <<: *job-artifacts

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

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

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

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

zlib_v1.2.3.9:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.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
  <<: *job-artifacts

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

zlib_v1.2.4.5:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.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
  <<: *job-artifacts

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

zlib_v1.2.5.3:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.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
  <<: *job-artifacts

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

zlib_v1.2.6.1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.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
  <<: *job-artifacts

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

zlib_v1.2.7.1:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.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
  <<: *job-artifacts

zlib_v1.2.7.3:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.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
  <<: *job-artifacts

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

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

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

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

zlib_ng_develop:
  stage: build
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/buildlib.sh zlib_ng develop
  <<: *job-artifacts