[gnome-initial-setup: 1/2] Add GitLab CI



commit fad3bc1d370ea62831a1747a5202a2f78502e498
Author: Will Thompson <will willthompson co uk>
Date:   Wed Jul 25 12:05:52 2018 +0100

    Add GitLab CI

 .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..ef844aa
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,32 @@
+image: fedora:28
+
+stages:
+  - build
+
+before_script:
+  - dnf install -y desktop-file-utils gcc gettext ibus-devel intltool krb5-devel libpwquality-devel 
libsecret-devel meson ninja-build "pkgconfig(accountsservice)" "pkgconfig(cheese)" "pkgconfig(cheese-gtk)" 
"pkgconfig(fontconfig)" "pkgconfig(gdm)" "pkgconfig(geocode-glib-1.0)" "pkgconfig(gio-2.0)" 
"pkgconfig(gio-unix-2.0)" "pkgconfig(glib-2.0)" "pkgconfig(gnome-desktop-3.0)" "pkgconfig(goa-1.0)" 
"pkgconfig(goa-backend-1.0)" "pkgconfig(gstreamer-1.0)" "pkgconfig(gtk+-3.0)" "pkgconfig(gweather-3.0)" 
"pkgconfig(libgeoclue-2.0)" "pkgconfig(libnm)" "pkgconfig(libnma)" "pkgconfig(packagekit-glib2)" 
"pkgconfig(webkit2gtk-4.0)" polkit-devel rest-devel
+
+.job_template: &job_definition
+  stage: build
+  script:
+    - meson -Dregion-page=${REGION_PAGE} --auto-features ${AUTO_FEATURES} _build .
+    - cd _build
+    - ninja
+    - meson test
+  artifacts:
+    when: on_failure
+    name: "gnome-initial-setup-${CI_COMMIT_REF_NAME}-${CI_JOB_NAME}"
+    paths:
+      - "${CI_PROJECT_DIR}/_build/meson-logs"
+
+build-minimal:
+  <<: *job_definition
+  variables:
+    REGION_PAGE: 'false'
+    AUTO_FEATURES: 'disabled'
+
+build-maximal:
+  <<: *job_definition
+  variables:
+    REGION_PAGE: 'true'
+    AUTO_FEATURES: 'enabled'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]