From fb8d95467da03e8b7cc1a6f13e09a7187c6d9b4f Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Tue, 9 Oct 2018 22:54:48 +0800 Subject: [PATCH] ci: Enable FreeBSD CI in the official repository Since we are unable to promote our FreeBSD runner to a shared runner, we can only enable it in GNOME group. This should avoid problems when submitting merge requests from forks. --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96d11f805..936c97669 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -128,8 +128,9 @@ vs2017-x64: - _build/meson-logs freebsd-11-x86_64: - when: manual stage: build + only: + - branches@GNOME/glib tags: # To run a FreeBSD builder, install gitlab-runner package and start both # gitlab-runner and dbus service because we need /var/lib/dbus/machine-id. @@ -154,9 +155,6 @@ freebsd-11-x86_64: - meson ${MESON_COMMON_OPTIONS} -Db_lundef=false -Diconv=gnu -Dxattr=false _build - ninja -C _build - meson test -C _build --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" - # FIXME: Remove this when we have a stable FreeBSD runner - # https://gitlab.gnome.org/Infrastructure/GitLab/issues/286 - allow_failure: true except: - tags artifacts: