[tracker/wip/carlosg/ci-playground: 8/8] ci: Add macos build task




commit b4b46a16025acd8fd98692fef7679af5be422f79
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun May 16 16:57:40 2021 +0200

    ci: Add macos build task

 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 09243009f..4bfb69285 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -208,6 +208,24 @@ build-alpine-edge@x86_64:
     - build-alpine-container@x86_64
   <<: *build
 
+build-macos:
+  stage: build
+  tags:
+    - macos
+  needs: []
+  before_script:
+    - pip3 install --user meson==0.56
+    - pip3 install --user ninja
+    - export PATH=/Users/gitlabrunner/Library/Python/3.7/bin:$PATH
+    - export MESON_FORCE_BACKTRACE=1
+  script:
+    - meson _build
+    - ninja -C _build
+  artifacts:
+    when: always
+    paths:
+      - _build/meson-logs
+
 .test-template: &test
   stage: test
   variables:


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