Merge branch 'wip/lantw/enable-ci-on-freebsd-12' into 'master'

ci: Enable CI on FreeBSD 12

See merge request GNOME/glib!950
This commit is contained in:
Philip Withnall 2019-06-26 11:08:44 +00:00
commit 40f868c189

View File

@ -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