diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2018-12-30 00:40:17 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2019-12-31 01:22:32 +0100 |
commit | a705acc3640e825d9b83bc37663d13950677728c (patch) | |
tree | 46d1eae7f2edfe89d6983421b1504ebcbf93c444 /.gitlab-ci.yml | |
parent | d7e8bb423588ead9c0f84503380c686c3fbe8529 (diff) | |
download | gcr-a705acc3640e825d9b83bc37663d13950677728c.tar.gz |
Support Meson build system
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18825f0..e3c446c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,29 @@ stages: variables: DEPENDENCIES: dbus-x11 diffutils gcc gtk-doc make openssh python redhat-rpm-config +fedora:meson: + image: fedora:latest + stage: build + before_script: + - dnf install -y 'dnf-command(builddep)' + - dnf builddep -y gcr + - dnf install -y $DEPENDENCIES meson ninja-build + - dbus-uuidgen --ensure + script: + - meson _build + - ninja -C _build + - eval `dbus-launch --sh-syntax` + - bash +x ./.gitlab-ci/run-tests.sh + artifacts: + reports: + junit: "_build/${CI_JOB_NAME}-report.xml" + name: "gcr-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" + when: always + paths: + - "_build/config.h" + - "_build/meson-logs" + - "_build/${CI_JOB_NAME}-report.xml" + fedora:Werror: image: fedora:latest stage: build |