Update .gitlab-ci.yml

This commit is contained in:
Black Hat
2019-08-18 10:40:13 +00:00
parent 3d8a3c7e36
commit 56cd170e56

View File

@@ -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