[frogr] Add .gitlab-ci.yml file for CI Pipelines
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Add .gitlab-ci.yml file for CI Pipelines
- Date: Tue, 6 Nov 2018 21:35:16 +0000 (UTC)
commit ea883549333562b736055ff239fbb9fbf91349a1
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Tue Nov 6 22:34:18 2018 +0100
Add .gitlab-ci.yml file for CI Pipelines
.gitlab-ci.yml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..79981b6
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,35 @@
+image: fedora:29
+
+stages:
+ - build
+
+before_script:
+ - dnf install -y meson ninja-build gcc glib2-devel libsoup-devel libexif-devel libxml2-devel
json-glib-devel libgcrypt-devel gtk3-devel gstreamer1-devel yelp-tools gettext libgcrypt-devel itstool
desktop-file-utils appstream-util
+
+build-frogr:
+ stage: build
+ script:
+ - meson --prefix /usr -Denable-header-bar=true _build .
+ - cd _build
+ - ninja
+ - meson test
+ except:
+ - tags
+ artifacts:
+ when: on_failure
+ name: "frogr-${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
+
+dist-frogr:
+ stage: build
+ only:
+ - tags
+ script:
+ - meson --prefix /usr --buildtype release -Denable-header-bar=true _build .
+ - cd _build
+ - ninja dist
+ artifacts:
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-dist/frogr-*.tar.xz"
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]