[libdmapsharing] .gitlab-ci.yml: build Fedora RPM and preserve as artifact
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] .gitlab-ci.yml: build Fedora RPM and preserve as artifact
- Date: Sun, 5 Jul 2020 17:35:22 +0000 (UTC)
commit 380ca9a4a955fd4bcf88a8507f3ca6b13f3b1a3f
Author: W. Michael Petullo <mike flyn org>
Date: Sun Jul 5 12:35:11 2020 -0500
.gitlab-ci.yml: build Fedora RPM and preserve as artifact
.gitlab-ci.yml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 612d28a..335fc86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,3 +15,24 @@ build-ubuntu:
- ./configure --with-mdns=dns_sd --disable-tests --enable-more-warnings
- make CFLAGS="-Wall -Wextra -Werror"
- make clean
+
+build-fedora:
+ image: fedora:latest
+
+ before_script:
+ - dnf -y update
+ - dnf -y install autoconf automake check-devel gcc gtk-doc avahi-glib-devel avahi-compat-libdns_sd-devel
gdk-pixbuf2-devel libgee-devel glib2-devel gstreamer1-plugins-base-devel gtk3-devel libsoup-devel libtool
pkgconf-pkg-config rpm-build
+
+ script:
+ - ./autogen.sh --with-mdns=avahi --disable-tests --enable-more-warnings
+ - make CFLAGS="-Wall -Wextra -Werror"
+ - make dist
+ - mkdir -p ~/rpmbuild/SOURCES
+ - cp libdmapsharing-*.*.*.tar.gz ~/rpmbuild/SOURCES
+ - rpmbuild -ba distro/libdmapsharing4.spec
+
+ artifacts:
+ paths:
+ - ~/rpmbuild/RPMS/
+ - ~/rpmbuild/SRPMS/
+ expire_in: 1 week
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]