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
before_script:
- apt update -qq
- apt install -y -qq
autoconf
autoconf-archive
automake
build-essential
ca-certificates
gobject-introspection
......@@ -13,10 +10,10 @@ before_script:
libgirepository1.0-dev
libglib2.0-dev
libsoup2.4-dev
libtool
libxml2-utils
m4
meson
pkg-config
valac
# Needed to ensure /etc/ssl/certs/ca-certificates.crt is present
# - update-ca-certificates
......@@ -26,13 +23,18 @@ stages:
build-check:
stage: build
script:
- mkdir build
- cd build
- ../autogen.sh
- make V=1 VERBOSE=1
- make distcheck V=1 VERBOSE=1
- meson
--buildtype debug
--wrap-mode=nodownload
--fatal-meson-warnings
--werror
_build
- ninja -C _build
- meson test -C _build
# The files which are to be made available in GitLab
artifacts:
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.
Finish editing this message first!
Please register or to comment