summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-03 14:50:02 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-01-03 15:07:26 -0500
commit8ec7ae1f308c6f53efea3d9523d0d55e14e8d102 (patch)
tree5a0c2b730a52cbbcc979a17a4dac513e2453b157 /.gitlab-ci.yml
parentbe37162e3fe93caa7b61b2a222503613f332d59b (diff)
downloadpango-8ec7ae1f308c6f53efea3d9523d0d55e14e8d102.tar.gz
ci: Add a macos build
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files changed, 24 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0d1433cb..ff36ec71 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,9 +74,30 @@ msys2-mingw64:
name: "${env:CI_JOB_NAME}-${env:CI_COMMIT_REF_NAME}"
when: always
paths:
- - _build/meson-logs
- - _build/hello.png
- - _build/fontlist.txt
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
+ - "${CI_PROJECT_DIR}/_build/hello.png"
+ - "${CI_PROJECT_DIR}/_build/fontlist.txt"
+
+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
+ script:
+ - meson -Dintrospection=disabled
+ -Dcpp_std=c++11
+ -Dpixman:tests=disabled
+ -Dharfbuzz:coretext=enabled
+ _build
+ - ninja -C _build
+ artifacts:
+ when: always
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
reference:
image: $FEDORA_IMAGE