mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 12:08:50 +03:00
Validate appdata.xml in CI
This commit is contained in:
parent
6e8f0cbf76
commit
3bdf89c185
3 changed files with 9 additions and 2 deletions
|
@ -350,9 +350,13 @@ build-flatpak:
|
||||||
- git config --global protocol.file.allow always
|
- git config --global protocol.file.allow always
|
||||||
script:
|
script:
|
||||||
- export VERSION=$(git describe)
|
- 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
|
- mkdir -p build-flatpak
|
||||||
- cd 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-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//\//_}
|
- flatpak --arch=${AARCH} build-bundle repo nheko-${ARCH}.flatpak im.nheko.Nheko ${CI_COMMIT_REF_NAME//\//_}
|
||||||
after_script:
|
after_script:
|
||||||
- bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-${ARCH}.flatpak
|
- bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-${ARCH}.flatpak
|
||||||
|
|
|
@ -42,9 +42,9 @@ cleanup:
|
||||||
modules:
|
modules:
|
||||||
- name: lmdb
|
- name: lmdb
|
||||||
sources:
|
sources:
|
||||||
- sha256: 8c5a93ac3cc97427c54571ad5a6140b7469389d01e6d2f43df39f96d3a4ccef7
|
- sha256: c0937223bba3c37c896809883a3c9b43049354578b239d6ed2476236a87f40c9
|
||||||
type: archive
|
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:
|
make-install-args:
|
||||||
- prefix=/app
|
- prefix=/app
|
||||||
no-autogen: true
|
no-autogen: true
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
<launchable type="desktop-id">@APPID@.desktop</launchable>
|
<launchable type="desktop-id">@APPID@.desktop</launchable>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>GPL-3.0-or-later</project_license>
|
<project_license>GPL-3.0-or-later</project_license>
|
||||||
|
<developer id="im.nheko">
|
||||||
|
<name>Nheko Reborn</name>
|
||||||
|
</developer>
|
||||||
<name>nheko</name>
|
<name>nheko</name>
|
||||||
<summary>Desktop client for the Matrix protocol</summary>
|
<summary>Desktop client for the Matrix protocol</summary>
|
||||||
<description>
|
<description>
|
||||||
|
|
Loading…
Reference in a new issue