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-native:
|
2018-08-12 07:02:17 +00:00
|
|
|
image: registry.gitlab.com/b0/matrique/qt
|
2018-07-11 11:16:28 +00:00
|
|
|
stage: build
|
2018-08-02 10:40:49 +00:00
|
|
|
before_script:
|
2018-07-11 12:28:02 +00:00
|
|
|
- git submodule update --init --recursive
|
2018-08-02 10:40:49 +00:00
|
|
|
script:
|
2018-08-02 23:23:14 +00:00
|
|
|
- mkdir -p build && cd build
|
2018-07-11 12:28:02 +00:00
|
|
|
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
|
|
|
|
- make -j4
|
2018-08-14 07:51:03 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-08-15 02:40:25 +00:00
|
|
|
- build/matrique
|
2018-08-02 10:40:49 +00:00
|
|
|
|
|
|
|
build-flatpak:
|
2018-08-12 07:02:17 +00:00
|
|
|
image: registry.gitlab.com/b0/matrique/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-08-14 10:53:55 +00:00
|
|
|
- flatpak-builder --force-clean --repo=repo build-dir org.eu.encom.matrique.json
|
|
|
|
- flatpak build-bundle repo matrique.flatpak org.eu.encom.matrique
|
2018-08-02 23:23:14 +00:00
|
|
|
- cd ../
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-08-15 02:11:26 +00:00
|
|
|
- flatpak/matrique.flatpak
|