[glib/wip/lantw/enable-ci-on-freebsd-12: 2/2] ci: Enable CI on FreeBSD 12



commit 02fdcba4842ca20f98ba73582705e419a0821ca6
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Mon Jun 24 22:55:36 2019 +0800

    ci: Enable CI on FreeBSD 12

 .gitlab-ci.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 81fddc25f..9f1643191 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -227,6 +227,33 @@ freebsd-11-x86_64:
       - "_build/meson-logs"
       - "_build/${CI_JOB_NAME}-report.xml"
 
+freebsd-12-x86_64:
+  stage: build
+  only:
+    - branches@GNOME/glib
+  tags:
+    - freebsd-12
+  variables:
+    CPPFLAGS: -I/usr/local/include
+    LDFLAGS: -L/usr/local/lib -Wl,--disable-new-dtags
+    LANG: en_US.UTF-8
+  script:
+    - meson ${MESON_COMMON_OPTIONS} -Db_lundef=false -Diconv=external -Dxattr=false _build
+    - ninja -C _build
+    - bash -x ./.gitlab-ci/run-tests.sh
+  except:
+    - tags
+  artifacts:
+    reports:
+      junit: "_build/${CI_JOB_NAME}-report.xml"
+    name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+    when: always
+    paths:
+      - "_build/config.h"
+      - "_build/glib/glibconfig.h"
+      - "_build/meson-logs"
+      - "_build/${CI_JOB_NAME}-report.xml"
+
 coverage:
   image: registry.gitlab.gnome.org/gnome/glib/fedora:v1
   stage: coverage


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