diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aebf153..10d2ebf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,26 @@ -image: rabits/qt:5.11-desktop +stages: + - build -build: +build-native: + image: rabits/qt:5.11-desktop stage: build - script: + before_script: - git submodule update --init --recursive + script: - mkdir build && cd build - qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler - make -j4 artifacts: paths: - - build/ \ No newline at end of file + - 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) + diff --git a/flatpak/org.eu.encom.matrique.json b/flatpak/org.eu.encom.matrique.json index 2946620..e9f4cd8 100644 --- a/flatpak/org.eu.encom.matrique.json +++ b/flatpak/org.eu.encom.matrique.json @@ -14,7 +14,9 @@ "--socket=wayland", "--device=dri", "--filesystem=home:rw", - "--filesystem=/tmp:rw" + "--filesystem=/tmp:rw", + "--talk-name=org.freedesktop.Notifications", + "--talk-name=org.kde.StatusNotifierWatcher" ], "modules": [ {