[NetworkManager-fortisslvpn/lr/no-libnm-glib] gitlab: enable gtk4 testing
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-fortisslvpn/lr/no-libnm-glib] gitlab: enable gtk4 testing
- Date: Tue, 28 Jun 2022 11:32:33 +0000 (UTC)
commit 258428e980192eae07f4d48db45dffbe2a0d460a
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Tue Jun 28 10:51:45 2022 +0200
gitlab: enable gtk4 testing
.gitlab-ci.yml | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 38f81b6..12cbb3a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,10 +6,11 @@
.fedora_deps: &fedora_deps
before_script:
- - dnf -y install
+ - dnf -y install $EXTRA_PACKAGES
file
findutils
gcc
+ make
gettext-devel
glib2-devel
gtk3-devel
@@ -19,13 +20,12 @@
NetworkManager-libnm-devel
pkgconfig
ppp-devel
- appstream
# Disable fetching Git, run after the tarball is rolled
.dist: &dist
stage: test
dependencies:
- - fedora28_dist
+ - fedora36_dist
variables:
GIT_STRATEGY: none
@@ -33,10 +33,9 @@
<<: *fedora_deps
<<: *dist
script:
- - dnf -y install make
- tar xJf NetworkManager-fortisslvpn-*.tar.xz
- cd NetworkManager-fortisslvpn-*/
- - ./configure
+ - ./configure $EXTRA_CONFIGURE_FLAGS
--disable-silent-rules
- make -j
- make -j check
@@ -44,20 +43,30 @@
- make -j uninstall
# Roll the distribution tarball
-fedora28_dist:
+fedora36_dist:
<<: *fedora_deps
- image: fedora:28
+ image: fedora:36
stage: build
script:
- dnf -y install
/usr/bin/autopoint
- autoconf automake make
+ autoconf automake appstream
+ gtk4-devel
- sh autogen.sh
- make -j dist
artifacts:
paths:
- "*.xz"
-fedora_from_dist:
+# Test on a vintage distro without Gtk4
+fedora_28_from_dist:
+ <<: *fedora_from_dist
+ image: fedora:28
+
+# Test on a recent distro
+fedora_latest_from_dist:
<<: *fedora_from_dist
+ variables:
+ EXTRA_PACKAGES: libnma-gtk4-devel
+ EXTRA_CONFIGURE_FLAGS: --with-gtk4
image: fedora:latest
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]