Add minimal flatpak CI.
This commit is contained in:
parent
8201475827
commit
b1fba8a8db
|
@ -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/
|
||||
- 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)
|
||||
|
||||
|
|
|
@ -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": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue