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
|
2018-09-17 13:14:26 +00:00
|
|
|
- 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:
|
2018-09-17 13:14:26 +00:00
|
|
|
- flatpak/spectral.flatpak
|
2018-10-14 02:26:50 +00:00
|
|
|
|
|
|
|
build-appimage:
|
2018-10-14 02:29:33 +00:00
|
|
|
image: rabits/qt:5.11-desktop
|
2018-10-14 02:26:50 +00:00
|
|
|
stage: build
|
|
|
|
before_script:
|
2018-10-14 02:43:10 +00:00
|
|
|
- sudo apt-get install wget libpulse-dev
|
2018-10-14 02:26:50 +00:00
|
|
|
- git submodule update --init --recursive
|
|
|
|
- wget https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
|
|
|
|
- chmod +x linuxdeployqt-continuous-x86_64.AppImage
|
|
|
|
script:
|
|
|
|
- qmake PREFIX=deploy
|
|
|
|
- make
|
|
|
|
- make install
|
|
|
|
- ./linuxdeployqt-continuous-x86_64.AppImage deploy/share/applications/org.eu.encom.spectral.desktop -appimage -qmldir=qml -qmldir=imports
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- Spectral-x86_64.AppImage
|