ci: use meson on debian, not legacy build system

cute-signatures
Ariadne Conill 2021-12-14 14:24:24 -06:00 committed by Timo Teräs
parent 2c3cef8787
commit fade8b1ef2
1 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@ stages:
variables: variables:
PACKAGE_ENDPOINT: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/" PACKAGE_ENDPOINT: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/"
test:alpine: test-legacy:alpine:
image: alpine image: alpine
stage: test stage: test
script: script:
@ -18,7 +18,7 @@ test:alpine:
- docker-alpine - docker-alpine
- x86_64 - x86_64
test-meson:alpine: test:alpine:
image: alpine image: alpine
stage: test stage: test
script: script:
@ -35,10 +35,11 @@ test:debian:
stage: test stage: test
script: script:
- apt-get update - apt-get update
- apt-get install -y make gcc git libssl-dev zlib1g-dev lua5.3-dev lua5.2 lua-zlib-dev sudo - apt-get install -y make gcc git libssl-dev zlib1g-dev lua5.3-dev lua5.2 lua-zlib-dev sudo meson
- unlink /bin/sh - unlink /bin/sh
- ln -s /bin/bash /bin/sh - ln -s /bin/bash /bin/sh
- make -j$(nproc) check - meson build
- ninja -C build
tags: tags:
- docker-alpine - docker-alpine
- x86_64 - x86_64