[libhttpseverywhere] gitlab-ci: add continuous integration



commit 0e984e268d704bfb3f6ef60883c9bf0027b39230
Author: grindhold <grindhold gmx net>
Date:   Wed Feb 8 09:21:44 2017 +0100

    gitlab-ci: add continuous integration

 .gitlab-ci.yml |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..ba7d3b7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+# This file is a template, and might need editing before it works on your project.
+# use the official gcc image, based on debian
+# can use verions as well, like gcc:5.2
+# see https://hub.docker.com/_/gcc/
+image: gcc
+
+build:
+  stage: build
+  # instead of calling g++ directly you can also use some build toolkit like make
+  # install the necessary build tools when needed
+  before_script: 
+    - sudo apt update && sudo apt -y install meson valac gobject-introspection valadoc 
libgirepository1.0-dev libjson-glib-dev libxml2-dev libsoup2.4-dev
+  script: 
+    - mkdir build && cd build && meson .. && ninja
+    - ./httpseverywhere_test
+  artifacts:
+    paths:
+      - libhttpseverywhere.so
+  # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
+  # cache:
+  #   paths:
+  #     - "*.o"
+


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