diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1dea74c..464d0f86 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 |