2018-08-02 10:40:49 +00:00
|
|
|
stages:
|
|
|
|
- build
|
2018-07-11 11:16:28 +00:00
|
|
|
|
2018-08-02 10:40:49 +00:00
|
|
|
build-native:
|
|
|
|
image: rabits/qt:5.11-desktop
|
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-07-11 12:28:02 +00:00
|
|
|
- mkdir build && cd build
|
|
|
|
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
|
|
|
|
- make -j4
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-08-02 10:40:49 +00:00
|
|
|
- build/
|
|
|
|
|
|
|
|
build-flatpak:
|
|
|
|
image: fedora:latest
|
|
|
|
stage: build
|
|
|
|
before-script: dnf install flatpak
|
|
|
|
script:
|
|
|
|
- flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub
|
|
|
|
- flatpak install flathub org.kde.Platform//5.11
|
|
|
|
- gpg2 -v --import <(echo $GPG_SECRET_KEY)
|
|
|
|
|