[gnome-books/wip/hadess/40: 1/2] ci: Add a traditional build target
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-books/wip/hadess/40: 1/2] ci: Add a traditional build target
- Date: Thu, 25 Mar 2021 09:01:23 +0000 (UTC)
commit c42dd62c1e879e0e921e3497bed5b693fb8688fb
Author: Bastien Nocera <hadess hadess net>
Date: Thu Mar 25 01:19:46 2021 +0100
ci: Add a traditional build target
Which also tests "dist".
Closes: #56
.gitlab-ci.yml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1b142f52..9f7ec04e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,46 @@
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
stages:
+- build
- test
- deploy
variables:
GIT_SUBMODULE_STRATEGY: normal
+ DEPENDENCIES:
+ docbook-style-xsl
+ gcc
+ git
+ librsvg2
+ meson
+ pkgconfig(evince-document-3.0)
+ pkgconfig(evince-view-3.0)
+ pkgconfig(gjs-1.0)
+ pkgconfig(glib-2.0)
+ pkgconfig(gnome-desktop-3.0)
+ pkgconfig(gobject-introspection-1.0)
+ pkgconfig(gtk+-3.0)
+ pkgconfig(libgepub-0.6)
+ pkgconfig(tracker-control-2.0)
+ pkgconfig(tracker-sparql-2.0)
+ pkgconfig(webkit2gtk-4.0)
+ /usr/bin/appstream-util
+ /usr/bin/desktop-file-validate
+
+build-fedora:
+ image: fedora:latest
+ stage: build
+ before_script:
+ # Update
+ - dnf -y update && dnf install -y $DEPENDENCIES
+ script:
+ - meson _build
+ - ninja -C _build install
+ - ninja -C _build dist
+ artifacts:
+ when: always
+ paths:
+ - _build/meson-dist/*
flatpak:master:
extends: .flatpak
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]