Commit 076fd5a9 authored by Philip Withnall's avatar Philip Withnall Committed by Xavier Claessens

WIP: ci: Add macOS CI runner

We had one before, but the runner machine was too flaky to be useful.
Re-add it now that the Foundation have sorted out a more reliable
machine. (Thanks!)
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>

Fixes: #1416
parent 027c3f8d
Pipeline #141681 passed with stages
in 47 minutes and 5 seconds
......@@ -347,6 +347,35 @@ freebsd-12-x86_64:
- "_build/meson-logs"
- "_build/${CI_JOB_NAME}-report.xml"
macos:
extends: .only-default
stage: build
only:
- branches@GNOME/glib
tags:
- macos
before_script:
- pip3 install --user meson==0.49.2
- pip3 install --user ninja
- export PATH=/Users/gitlabrunner/Library/Python/3.7/bin:$PATH
script:
# FIXME: Add --werror
- meson ${MESON_COMMON_OPTIONS}
_build
- ninja -C _build
# FIXME: Multiple unit tests currently fails
- .gitlab-ci/run-tests.sh || true
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:
extends: .only-default
image: registry.gitlab.gnome.org/gnome/glib/fedora:v5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment