Update .gitlab-ci.yml

This commit is contained in:
Black Hat
2019-08-29 05:38:57 +00:00
parent 4c2ef78939
commit 38016d411b

View File

@@ -12,14 +12,14 @@ build-flatpak:
- flatpak-builder --force-clean --ccache --repo=repo build-dir org.eu.encom.spectral.yaml - flatpak-builder --force-clean --ccache --repo=repo build-dir org.eu.encom.spectral.yaml
- flatpak build-bundle repo spectral.flatpak org.eu.encom.spectral - flatpak build-bundle repo spectral.flatpak org.eu.encom.spectral
- cd ../ - cd ../
- mv flatpak/spectral.flatpak ./spectral-$(git rev-list --count HEAD).flatpak - mv flatpak/spectral.flatpak ./spectral.flatpak
cache: cache:
key: "flatpak-$CI_COMMIT_REF_SLUG" key: "flatpak-$CI_COMMIT_REF_SLUG"
paths: paths:
- flatpak/.flatpak-builder - flatpak/.flatpak-builder
artifacts: artifacts:
paths: paths:
- "*.flatpak" - spectral.flatpak
build-osx: build-osx:
stage: build stage: build
@@ -37,8 +37,8 @@ build-osx:
- cmake --build . --target all --parallel 16 - cmake --build . --target all --parallel 16
- popd - popd
- /usr/local/Cellar/qt/5.13.0/bin/macdeployqt build/spectral.app -dmg -qmldir=qml -qmldir=imports - /usr/local/Cellar/qt/5.13.0/bin/macdeployqt build/spectral.app -dmg -qmldir=qml -qmldir=imports
- mv build/spectral.dmg ./spectral-$(git rev-list --count HEAD).dmg - mv build/spectral.dmg ./spectral.dmg
artifacts: artifacts:
paths: paths:
- "*.dmg" - spectral.dmg