[glib-networking] Add basic CI



commit b6061453f5575e5fe72e92ec529a5e7ae5731ab8
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sat Aug 4 21:02:17 2018 -0500

    Add basic CI

 .gitlab-ci.yml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..9817861
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,22 @@
+image: fedora:28
+
+variables:
+  ADDITIONAL_DEPENDENCIES: gsettings-desktop-schemas gcc
+
+build_stable:
+  before_script:
+    - dnf update -y --nogpgcheck
+    - dnf install -y 'dnf-command(builddep)'
+    - dnf builddep -y --nogpgcheck glib-networking
+    - dnf install -y --nogpgcheck $ADDITIONAL_DEPENDENCIES
+  script:
+    - mkdir build
+    - cd build
+    - meson ..
+    - ninja
+    - ninja test
+    - ninja install
+  artifacts:
+    paths:
+      - build/test-results
+    when: on_failure


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