Validate appdata.xml in CI

This commit is contained in:
Nicolas Werner 2024-05-09 00:41:31 +02:00
parent 6e8f0cbf76
commit 3bdf89c185
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
3 changed files with 9 additions and 2 deletions

View file

@ -350,9 +350,13 @@ build-flatpak:
- git config --global protocol.file.allow always
script:
- export VERSION=$(git describe)
# workaround for https://github.com/flatpak/flatpak/issues/5076
- dbus-send --system /org/freedesktop/DBus org.freedesktop.DBus || dbus-daemon --system --fork
- mkdir -p build-flatpak
- cd build-flatpak
- flatpak-builder --arch=${AARCH} --install-deps-from=flathub --user --disable-rofiles-fuse --ccache --repo=repo --default-branch=${CI_COMMIT_REF_NAME//\//_} --subject="Build of Nheko ${VERSION} `date` for ${ARCH}" app ../im.nheko.Nheko.yaml --jobs=$JOBS
- flatpak install --user -y flathub org.flatpak.Builder
- flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream app/files/share/app-info/xmls/im.nheko.Nheko.xml.gz
- flatpak --arch=${AARCH} build-bundle repo nheko-${ARCH}.flatpak im.nheko.Nheko ${CI_COMMIT_REF_NAME//\//_}
after_script:
- bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-${ARCH}.flatpak

View file

@ -42,9 +42,9 @@ cleanup:
modules:
- name: lmdb
sources:
- sha256: 8c5a93ac3cc97427c54571ad5a6140b7469389d01e6d2f43df39f96d3a4ccef7
- sha256: c0937223bba3c37c896809883a3c9b43049354578b239d6ed2476236a87f40c9
type: archive
url: https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.30/openldap-LMDB_0.9.30.tar.gz
url: https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.32/openldap-LMDB_0.9.32.tar.gz
make-install-args:
- prefix=/app
no-autogen: true

View file

@ -5,6 +5,9 @@
<launchable type="desktop-id">@APPID@.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<developer id="im.nheko">
<name>Nheko Reborn</name>
</developer>
<name>nheko</name>
<summary>Desktop client for the Matrix protocol</summary>
<description>