From 6c357ea7d5634e1fec1f567b7d55770aa4f27256 Mon Sep 17 00:00:00 2001 From: Julius Enriquez Date: Wed, 30 Aug 2023 18:26:30 +0800 Subject: [PATCH] Enable GitLab CI for Flatpak --- .flatpak-manifest.json | 70 ++++++++++++++++++++++++++++++++++++++++++ .gitlab-ci.yml | 1 + 2 files changed, 71 insertions(+) create mode 100644 .flatpak-manifest.json diff --git a/.flatpak-manifest.json b/.flatpak-manifest.json new file mode 100644 index 0000000000..dbb102a641 --- /dev/null +++ b/.flatpak-manifest.json @@ -0,0 +1,70 @@ +{ + "id": "org.kde.dolphin", + "branch": "master", + "runtime": "org.kde.Platform", + "runtime-version": "5.15-22.08", + "sdk": "org.kde.Sdk", + "command": "dolphin", + "tags": ["nightly"], + "desktop-file-name-suffix": " (Nightly)", + "finish-args": ["--share=ipc", "--socket=x11", "--socket=wayland", "--filesystem=host" ], + + "modules": [ + { + "name": "lmdb", + "sources": [ + { + "type": "git", + "url": "https://github.com/LMDB/lmdb.git", + "tag": "LMDB_0.9.29", + "x-checker-data": { + "type": "git", + "tag-pattern": "^LMDB_([\\d.]+)$" + }, + "commit": "8ad7be2510414b9506ec9f9e24f24d04d9b04a1a" + } + ], + "no-autogen": true, + "make-install-args": ["prefix=/app"], + "subdir" : "libraries/liblmdb" + }, + { + "config-opts": ["-DENABLE_TESTING=OFF" , "-DLMDB_DIR=/app"], + "name": "baloo", + "buildsystem": "cmake-ninja", + "builddir": true, + "sources": [ + { + "type": "git", + "url": "https://invent.kde.org/frameworks/baloo.git", + "tag": "v5.101.0", + "x-checker-data": { + "type": "git", + "tag-pattern": "^v([\\d.]+)$" + }, + "commit": "03246908508ec9086171832e615c36bbaa48b6da" + } + ] + }, + { + "config-opts": ["-DENABLE_TESTING=OFF" , "-DLMDB_DIR=/app"], + "name": "baloo-widgets", + "buildsystem": "cmake-ninja", + "builddir": true, + "sources": [ { "type": "git", "url": "https://invent.kde.org/libraries/baloo-widgets.git" } ] + }, + { + "config-opts": ["-DFLATPAK=ON"], + "name": "dolphin", + "buildsystem": "cmake-ninja", + "builddir": true, + "sources": [ { "type": "dir", "path": "." } ] + }, + { + "name": "dolphin-plugins", + "buildsystem": "cmake-ninja", + "builddir": true, + "sources": [ { "type": "git", "url": "https://invent.kde.org/sdk/dolphin-plugins.git" } ] + } + ] +} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b09627599..8c7d812eff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,3 +2,4 @@ include: - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml + - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/flatpak.yml