[glib/1416-macos-ci] WIP: ci: Add macOS CI runner



commit 242f4006cfe5eb3d66510fceb095cee0b6d6ca5b
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Dec 10 12:45:51 2019 +0000

    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 <withnall endlessm com>
    
    Fixes: #1416

 .gitlab-ci.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d49aff5f7..9f680a205 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -319,6 +319,33 @@ 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
+  script:
+    # FIXME: Add --werror
+    - meson ${MESON_COMMON_OPTIONS}
+            --werror
+            -Diconv=native
+            _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


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