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