ci: More CI fixes

Support both dnf and dnf5 as we don't know which rawhide Fedora image
will ultimately be used.
This commit is contained in:
Bastien Nocera 2023-11-21 14:20:08 +01:00
parent ef1d1c394b
commit 3cb0e750c7

View file

@ -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