mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-21 16:41:03 +00:00
flatpak: add a builder to build nightly Devel flatpak
This commit is contained in:
parent
2548040463
commit
c7c8817f9d
4 changed files with 2123 additions and 19 deletions
|
@ -89,30 +89,30 @@ clippy:
|
|||
- cargo clippy --color=always --all-targets -- -D warnings
|
||||
|
||||
flatpak:
|
||||
image: $GNOME_RUNTIME_IMAGE
|
||||
stage: "test"
|
||||
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:41"
|
||||
stage: test
|
||||
only:
|
||||
- flatpak
|
||||
timeout: "120min"
|
||||
- tags
|
||||
# Using gstreamer runner avoids an issue with 'bwrap: No permissions to creating new namespace' during flatpak builder
|
||||
tags:
|
||||
- gstreamer
|
||||
variables:
|
||||
MANIFEST_PATH: "build-aux/org.karapulse.KarapulseDevel.json"
|
||||
APP_ID: "org.karapulse.KarapulseDevel"
|
||||
BUNDLE: "karapulse-nightly.flatpak"
|
||||
|
||||
BUNDLE: "gst-pipeline-studio-nightly.flatpak"
|
||||
MANIFEST_PATH: "build-aux/org.freedesktop.dabrain34.GstPipelineStudio.Devel.json"
|
||||
FLATPAK_MODULE: "gst-pipeline-studio"
|
||||
APP_ID: "org.freedesktop.dabrain34.GstPipelineStudio.Devel"
|
||||
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
|
||||
script:
|
||||
- flatpak-builder app ${MANIFEST_PATH}
|
||||
- flatpak build-export repo app
|
||||
- flatpak build-bundle repo ${BUNDLE} ${APP_ID}
|
||||
|
||||
artifacts:
|
||||
name: "Flatpak artifacts"
|
||||
expose_as: "Get Flatpak bundle here"
|
||||
when: "always"
|
||||
paths:
|
||||
- $BUNDLE
|
||||
expire_in: 1 days
|
||||
|
||||
cache:
|
||||
key: "flatpak"
|
||||
paths:
|
||||
- .flatpak-builder/downloads/
|
||||
- .flatpak-builder/git/
|
||||
- target/
|
||||
- target_test/
|
||||
- "${BUNDLE}"
|
||||
- ".flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/meson-log.txt"
|
||||
- ".flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/testlog.txt"
|
||||
expire_in: 14 days
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"app-id": "org.freedesktop.dabrain34.GstPipelineStudio.Devel",
|
||||
"runtime": "org.gnome.Platform",
|
||||
"runtime-version": "41",
|
||||
"sdk": "org.gnome.Sdk",
|
||||
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
|
||||
"command": "gst_pipeline_studio",
|
||||
"finish-args": [
|
||||
"--socket=fallback-x11",
|
||||
"--socket=wayland",
|
||||
"--device=dri",
|
||||
"--env=G_MESSAGES_DEBUG=none",
|
||||
"--env=RUST_BACKTRACE=1"
|
||||
],
|
||||
"build-options": {
|
||||
"append-path": "/usr/lib/sdk/rust-stable/bin",
|
||||
"build-args": ["--share=network"],
|
||||
"test-args": ["--socket=x11", "--share=network"]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"name": "gst_pipeline_studio",
|
||||
"buildsystem": "meson",
|
||||
"run-tests": true,
|
||||
"config-opts": ["-Dprofile=development"],
|
||||
"sources": [
|
||||
{
|
||||
"type": "dir",
|
||||
"path": "../"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
install_data(
|
||||
'@0@.svg'.format(base_id),
|
||||
'@0@.svg'.format(application_id),
|
||||
install_dir: iconsdir / 'hicolor' / 'scalable' / 'apps'
|
||||
)
|
||||
|
||||
|
|
2070
data/icons/org.freedesktop.dabrain34.GstPipelineStudio.Devel.svg
Normal file
2070
data/icons/org.freedesktop.dabrain34.GstPipelineStudio.Devel.svg
Normal file
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 116 KiB |
Loading…
Reference in a new issue