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


          

                 


                    
                                                                                                  


                               
                
 




                    
                                                                                                                                        





                        




                        
                                                                                                   





                                 
stages:
    - test

test:alpine:
    image: alpine
    stage: test
    script:
        - apk update
        - apk add make gcc git musl-dev openssl-dev linux-headers zlib-dev lua5.3-dev lua5.3-lzlib
        - make -j$(nproc) check
    tags:
        - docker-alpine
        - x86_64

test-meson:alpine:
    image: alpine
    stage: test
    script:
        - apk update
        - apk add make gcc git musl-dev openssl-dev linux-headers zlib-dev lua5.3-dev lua5.3-lzlib meson zlib-static openssl-libs-static
        - meson build
        - ninja -C build
    tags:
        - docker-alpine
        - x86_64

test:debian:
    image: debian
    stage: test
    script:
        - apt-get update
        - apt-get install -y make gcc git libssl-dev zlib1g-dev lua5.3-dev lua5.2 lua-zlib-dev sudo
        - unlink /bin/sh
        - ln -s /bin/bash /bin/sh
        - make -j$(nproc) check
    tags:
        - docker-alpine
        - x86_64