summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Janků <jjanku@redhat.com>2020-11-15 15:55:45 +0100
committerJakub Janků <jjanku@redhat.com>2020-11-15 16:59:02 +0100
commit1d40f0e967c3d3404ba603e12964188115c5c887 (patch)
tree90787f248ef0179c60dae10e6ffdf50045949640
parentaa792598ea74bf09b6c555d7e1fb027070fb2363 (diff)
ci: run checks only with --with-session-info=none
In the container environment, neither systemd nor console kit is running, thus test-session-info fails. To fix the pipeline, run "make distcheck" with the aforementioned option, which disables this test. Signed-off-by: Jakub Janků <jjanku@redhat.com>
-rw-r--r--.gitlab-ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fba21ee..c48ee86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,8 @@ variables:
libXfixes-devel libX11-devel libXrandr-devel libXinerama-devel
gtk3-devel dbus-devel systemd-devel procps-ng libdrm-devel gtk4-devel
vulkan-headers
+ DISTCHECK_CONFIGURE_FLAGS:
+ --with-session-info=none
before_script:
- dnf install -y $DEPS_COMMON
@@ -18,8 +20,10 @@ fedora-autotools:
script:
- ./autogen.sh
- make
- - make check
- - make distcheck
+ - git clean -xfd
+
+ - ./autogen.sh --with-session-info=none
+ - make distcheck --environment-overrides
- git clean -xfd
- ./autogen.sh --with-session-info=systemd --with-init-script=systemd+redhat