Skip to content
Snippets Groups Projects
Commit 7509c952 authored by Philip Withnall's avatar Philip Withnall
Browse files

ci: Build using Meson rather than autotools

parent aeb1fb79
No related branches found
No related tags found
1 merge request!14build: Drop autotools build system
...@@ -3,9 +3,6 @@ image: debian:unstable ...@@ -3,9 +3,6 @@ image: debian:unstable
before_script: before_script:
- apt update -qq - apt update -qq
- apt install -y -qq - apt install -y -qq
autoconf
autoconf-archive
automake
build-essential build-essential
ca-certificates ca-certificates
gobject-introspection gobject-introspection
...@@ -13,10 +10,10 @@ before_script: ...@@ -13,10 +10,10 @@ before_script:
libgirepository1.0-dev libgirepository1.0-dev
libglib2.0-dev libglib2.0-dev
libsoup2.4-dev libsoup2.4-dev
libtool
libxml2-utils libxml2-utils
m4 meson
pkg-config pkg-config
valac
# Needed to ensure /etc/ssl/certs/ca-certificates.crt is present # Needed to ensure /etc/ssl/certs/ca-certificates.crt is present
# - update-ca-certificates # - update-ca-certificates
...@@ -26,13 +23,18 @@ stages: ...@@ -26,13 +23,18 @@ stages:
build-check: build-check:
stage: build stage: build
script: script:
- mkdir build - meson
- cd build --buildtype debug
- ../autogen.sh --wrap-mode=nodownload
- make V=1 VERBOSE=1 --fatal-meson-warnings
- make distcheck V=1 VERBOSE=1 --werror
_build
- ninja -C _build
- meson test -C _build
# The files which are to be made available in GitLab # The files which are to be made available in GitLab
artifacts: artifacts:
paths: paths:
- build/* - _build/config.h
- _build/meson-logs/
- _build/docs/reference/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment