summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-07-05 16:34:27 +0200
committerBastien Nocera <hadess@hadess.net>2023-07-05 17:16:52 +0200
commit744c49eaac295bfdbb1a65dc4ba9c6e991bbf663 (patch)
tree98be092f8c0da41d0876886a4b2433eb8c1e40f6
parente8d8417023cc427d79879281988a319bae3b38d1 (diff)
ci: Install newer libgudev
Until the image creation CI job can run all the way through: https://gitlab.freedesktop.org/upower/upower/-/issues/242 install a newer libgudev by hand.
-rw-r--r--.gitlab-ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aaa63e7..d5373a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -60,6 +60,14 @@ test_nut_hwdb:
build:
stage: build
+ before_script:
+ - git clone https://gitlab.gnome.org/GNOME/libgudev.git
+ - cd libgudev
+ - dnf install -y 'dnf-command(builddep)'
+ - dnf builddep -y libgudev
+ - meson _build -Dprefix=/usr
+ - ninja -C _build install
+ - cd ..
script:
- meson _build -Dintrospection=enabled -Dman=true -Dgtk-doc=true -Didevice=enabled
- ninja -C _build
@@ -116,6 +124,11 @@ test:
- meson _build -Dprefix=/usr
- ninja -C _build install
- cd ..
+ - cd libgudev
+ - dnf builddep -y libgudev
+ - meson _build -Dprefix=/usr
+ - ninja -C _build install
+ - cd ..
script:
- meson _build -Dintrospection=enabled -Dman=true -Dgtk-doc=true -Didevice=enabled
- ninja -C _build
@@ -133,6 +146,13 @@ test:
check_abi:
stage: test
+ before_script:
+ - cd libgudev
+ - dnf install -y 'dnf-command(builddep)'
+ - dnf builddep -y libgudev
+ - meson _build -Dprefix=/usr
+ - ninja -C _build install
+ - cd ..
script:
- check-abi --suppr .ci/upower.suppr --parameters="-Dman=false -Dgtk-doc=false -Didevice=enabled" ${LAST_ABI_BREAK} $(git rev-parse HEAD)
except: