diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2020-09-26 19:25:21 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-01-04 20:08:06 +0000 |
commit | d8d16562ec094593eba4446432e918704590ab20 (patch) | |
tree | 13621ce33035d9e8fcb09842aa2d95d165e4004f /.gitlab-ci.yml | |
parent | cb3618f76d10c2e0cd1e6196ed79d4af4d7d5e44 (diff) | |
download | cairo-d8d16562ec094593eba4446432e918704590ab20.tar.gz |
meson: fix macOS build and add macOS ci
Fixes #441
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c0450d71..98186c490 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -213,3 +213,29 @@ meson android arm64 fedora: EOF - meson setup --cross-file android-cross-file.txt build - meson compile --verbose -C build + +meson macOS: + tags: + - gst-macos-10.15 + artifacts: + name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}" + expire_in: '5 days' + when: 'always' + paths: + - "build/meson-logs/*txt" + - "build/meson-private/*pc" + before_script: + - pip3 install --upgrade pip + # Make sure meson is up to date + - pip3 install -U meson + # Need to install certificates for python + - pip3 install --upgrade certifi + # Anther way to install certificates + - open /Applications/Python\ 3.8/Install\ Certificates.command + # Get ninja + - pip3 install -U ninja + script: + - CERT_PATH=$(python3 -m certifi) && export SSL_CERT_FILE=${CERT_PATH} && export REQUESTS_CA_BUNDLE=${CERT_PATH} + # pixman region-test fails to link on macOS + - meson setup -Dpixman:tests=disabled build + - meson compile --verbose -C build |