From 3cb0e750c76753554a6e30994e755c63f5a10deb Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 21 Nov 2023 14:20:08 +0100 Subject: [PATCH] ci: More CI fixes Support both dnf and dnf5 as we don't know which rawhide Fedora image will ultimately be used. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f176de8..30616fa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,8 @@ workflow: build_stable: before_script: - - dnf update -y && dnf install -y $DEPENDENCIES + - dnf update -y + - if [ -x /bin/dnf ]; then dnf install -y $DEPENDENCIES; else dnf5 install -y $DEPENDENCIES; fi - mkdir tmpdir/ script: - meson -Dgtk_doc=true -Dpylint=true -Dtests=true _build