diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-01-02 22:34:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-01-03 21:34:04 -0500 |
commit | 45bb4dc80c456618ff57caba24e7cf882b699347 (patch) | |
tree | b84ec2784772d858a73f7bb9b919580b5059f52f /.gitlab-ci.yml | |
parent | 51a6b29e0198560347183935a9caf6a768fa8e76 (diff) | |
download | gtk+-45bb4dc80c456618ff57caba24e7cf882b699347.tar.gz |
ci: Add a macos build
Most of this is cribbed from glib.
We don't use COMMON_MESON_FLAGS here, since disabling
-Werror one subproject at a time is too painful for
all the promoted sub-sub-projects. This needs a better
solution in meson.
Since this is a full rebuild of the entire stack, limit
this to master and merge requests.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18565b2913..ed714f4668 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -144,6 +144,26 @@ msys2-mingw64: MSYSTEM: "MINGW64" CHERE_INVOKING: "yes" +macos: + stage: build + tags: + - macos + needs: [] + before_script: + - bash .gitlab-ci/show-execution-environment.sh + - pip3 install --user meson==0.56 + - pip3 install --user ninja + - export PATH=/Users/gitlabrunner/Library/Python/3.7/bin:$PATH + script: + - meson -Dx11-backend=false + -Dintrospection=disabled + _build + - ninja -C _build + artifacts: + when: always + paths: + - "${CI_PROJECT_DIR}/_build/meson-logs" + .flatpak-defaults: image: $FLATPAK_IMAGE stage: flatpak |