Spectral/.gitlab-ci.yml

33 lines
908 B
YAML
Raw Normal View History

2018-08-02 10:40:49 +00:00
stages:
- build
2018-08-02 23:23:14 +00:00
- deploy
2018-08-02 10:40:49 +00:00
build-flatpak:
2018-09-17 13:16:49 +00:00
image: black0/flatpak
2018-08-02 10:40:49 +00:00
stage: build
2018-08-02 23:23:14 +00:00
before_script:
- git submodule update --init --recursive
2018-08-02 10:40:49 +00:00
script:
2018-08-02 23:23:14 +00:00
- cd flatpak
- flatpak-builder --force-clean --repo=repo build-dir org.eu.encom.spectral.yaml
- flatpak build-bundle repo spectral.flatpak org.eu.encom.spectral
2018-08-02 23:23:14 +00:00
- cd ../
artifacts:
paths:
- flatpak/spectral.flatpak
2018-10-14 02:26:50 +00:00
build-appimage:
2018-10-14 09:03:52 +00:00
image: black0/qt
2018-10-14 02:26:50 +00:00
stage: build
before_script:
2018-10-14 05:15:58 +00:00
- git submodule update --init --recursive
2018-10-14 02:26:50 +00:00
script:
2019-02-02 13:05:47 +00:00
- /opt/qt512/bin/qt512-env.sh
- /opt/qt512/bin/qmake CONFIG+=debug CONFIG+=qml_debug PREFIX=/usr
2018-10-14 02:26:50 +00:00
- make
2018-10-19 03:52:53 +00:00
- make INSTALL_ROOT=appdir install
2019-02-02 13:05:47 +00:00
- /usr/bin/linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/org.eu.encom.spectral.desktop -appimage -qmldir=qml -qmldir=imports -qmake=/opt/qt512/bin/qmake
2018-10-14 02:26:50 +00:00
artifacts:
paths:
2019-02-03 03:47:05 +00:00
- Spectral*.AppImage