diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2021-03-16 17:56:35 +0100 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2021-03-16 20:27:37 +0100 |
commit | aea175985cac13c7266b11ad9c4a8b86998a006f (patch) | |
tree | 184aae6e22a48463e1572644450c575b3b519389 | |
parent | cf3ea3fa97f18aa0f4ac634809608131fb9786cc (diff) |
ci: Cleanup the build stage so that we can define dependencies just once
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d8d99e..3b436aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,23 @@ +variables: + DEPENDENCIES: dbus-devel + gcc + gettext-devel + glib-devel + gobject-introspection-devel + gtk-doc + make + meson + ninja-build + polkit-devel + redhat-rpm-config + systemd-devel + vala + build-fedora: image: fedora:rawhide + stage: build before_script: - - dnf install -y gcc meson ninja-build gobject-introspection-devel glib-devel gtk-doc gettext-devel make polkit-devel redhat-rpm-config systemd-devel dbus-devel vala + - dnf install -y $DEPENDENCIES script: - meson -Dgtk_doc=true _build - ninja -C _build all |