|
|
|
@ -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 |
|
|
|
|