From 2391947b3496899bd0bbdb245f6896faae89f1f6 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Mon, 22 Jul 2019 19:31:43 +0200 Subject: [PATCH] Update CI configuration to enable tests --- .gitlab-ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1eedd1d2..1cadc9d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,16 +2,29 @@ image: debian:buster stages: - build + - test + +.tags: &tags + tags: + - librem5 before_script: - apt-get -y update - apt-get -y build-dep . build_meson: + <<: *tags stage: build - tags: - - librem5 script: - meson . _build/ -Ddepdatadir=/usr/share - ninja -C _build install +test: + <<: *tags + stage: test + dependencies: + - build_meson + script: + - export LC_ALL=C.UTF-8 + - ninja -C _build test +