summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2019-06-24 22:55:36 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2019-06-25 00:46:52 +0800
commit4bf3cb0e5414fb5beac602ae88e5b738a85b55b0 (patch)
tree52f7f6a02f33e2ee23fd09931e0ad5f043796114 /.gitlab-ci.yml
parentbc4d9d71261e79df357f78649290149c639b456a (diff)
downloadglib-4bf3cb0e5414fb5beac602ae88e5b738a85b55b0.tar.gz
ci: Enable CI on FreeBSD 12
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files changed, 27 insertions, 0 deletions
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