[gnome-text-editor] build: now try macOS builder
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] build: now try macOS builder
- Date: Thu, 3 Feb 2022 00:56:56 +0000 (UTC)
commit 50f9528e290644d105aebba31ad7d70459df427f
Author: Christian Hergert <chergert redhat com>
Date: Wed Feb 2 16:37:23 2022 -0800
build: now try macOS builder
.gitlab-ci.yml | 39 +++++++++++++++++++++++++++++++++++++++
.gitlab-ci/show-info-osx.sh | 8 ++++++++
2 files changed, 47 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 968b300..b1585c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,3 +31,42 @@ fedora:
- mkdir -p pfx/
- meson ${MESON_FLAGS} --prefix=${PWD}/pfx _build
- ninja -C _build install
+
+macos:
+ extends: .only-default
+ only:
+ - branches@GNOME/gnome-text-editor
+ tags:
+ - macos
+ needs: []
+ before_script:
+ - bash .gitlab-ci/show-info-osx.sh
+ - pip3 install --user meson==0.59
+ - pip3 install --user ninja
+ - export PATH=/Users/gitlabrunner/Library/Python/3.7/bin:$PATH
+ variables:
+ MESON_FORCE_BACKTRACE: "1"
+ script:
+ - mkdir -p pfx/
+ - meson -Dgtk:x11-backend=false
+ -Dgtk:broadway-backend=true
+ -Dgtk:macos-backend=true
+ -Dgtk:media-gstreamer=disabled
+ -Dgtk:introspection=disabled
+ -Dgtk:demos=false
+ -Dgtk:build-examples=false
+ -Dgtk:build-tests=false
+ -Dcpp_std=c++11
+ -Dpixman:tests=disabled
+ -Dglib:werror=false
+ -Dgtksourceview:werror=false
+ -Dgtk:werror=false
+ -Dlibadwaita:werror=false
+ -Dlibsass:werror=false
+ -Dsassc:werror=false
+ _build
+ - ninja -C _build
+ artifacts:
+ when: always
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
diff --git a/.gitlab-ci/show-info-osx.sh b/.gitlab-ci/show-info-osx.sh
new file mode 100755
index 0000000..cc1bfdb
--- /dev/null
+++ b/.gitlab-ci/show-info-osx.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -eux -o pipefail
+
+xcodebuild -version || :
+xcodebuild -showsdks || :
+
+system_profiler SPSoftwareDataType || :
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]