From 56cd170e569a67dd463832c8bc981e3a4a2af951 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sun, 18 Aug 2019 10:40:13 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e96e7396..be78b0d9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,24 @@ build-flatpak: paths: - "*.flatpak" +build-osx: + stage: build + tags: + - osx + script: + - pushd include/libQuotient/3rdparty/libQtOlm + - git clone https://gitlab.matrix.org/matrix-org/olm.git + - popd + - mkdir build && pushd build + - cmake .. -LA -DUSE_INTREE_LIBQMC=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr + - cmake --build . --target all + - popd + - macdeployqt build/spectral.app -dmg -qmldir=qml -qmldir=imports + - mv build/spectral.dmg ./spectral-$(git rev-list --count HEAD).dmg + artifacts: + paths: + - "*.dmg" + deploy-flatpak: image: python:3-alpine stage: deploy