|
|
@ -289,15 +289,20 @@ codesign-macos: |
|
|
|
|
|
|
|
|
|
|
|
build-flatpak: |
|
|
|
build-flatpak: |
|
|
|
stage: build |
|
|
|
stage: build |
|
|
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/ubuntu:latest |
|
|
|
image: |
|
|
|
|
|
|
|
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/ubuntu:latest |
|
|
|
|
|
|
|
#docker: |
|
|
|
|
|
|
|
# platform: ${ARCH} |
|
|
|
#image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master' |
|
|
|
#image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master' |
|
|
|
tags: |
|
|
|
tags: |
|
|
|
- docker-${ARCH} |
|
|
|
- docker-amd64 |
|
|
|
parallel: |
|
|
|
parallel: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
- ARCH: amd64 |
|
|
|
- ARCH: amd64 |
|
|
|
|
|
|
|
AARCH: x86_64 |
|
|
|
JOBS: 0 |
|
|
|
JOBS: 0 |
|
|
|
- ARCH: arm64 |
|
|
|
- ARCH: arm64 |
|
|
|
|
|
|
|
AARCH: aarch64 |
|
|
|
JOBS: 3 |
|
|
|
JOBS: 3 |
|
|
|
before_script: |
|
|
|
before_script: |
|
|
|
- apt-get update && apt-get -y install flatpak-builder git python3 curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0 |
|
|
|
- apt-get update && apt-get -y install flatpak-builder git python3 curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0 |
|
|
@ -308,8 +313,8 @@ build-flatpak: |
|
|
|
- export VERSION=$(git describe) |
|
|
|
- export VERSION=$(git describe) |
|
|
|
- mkdir -p build-flatpak |
|
|
|
- mkdir -p build-flatpak |
|
|
|
- cd build-flatpak |
|
|
|
- cd build-flatpak |
|
|
|
- flatpak-builder --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 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 |
|
|
|
- (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || exit_code=$? |
|
|
|
- (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || exit_code=$? |
|
|
@ -325,6 +330,7 @@ build-flatpak: |
|
|
|
paths: ['build-flatpak/nheko-${ARCH}.flatpak'] |
|
|
|
paths: ['build-flatpak/nheko-${ARCH}.flatpak'] |
|
|
|
name: flatpak-${CI_COMMIT_REF_NAME}-${VERSION}-${ARCH} |
|
|
|
name: flatpak-${CI_COMMIT_REF_NAME}-${VERSION}-${ARCH} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# disabled until I find a qt6.5 ppa for Ubuntu |
|
|
|
# disabled until I find a qt6.5 ppa for Ubuntu |
|
|
|
.appimage-amd64: |
|
|
|
.appimage-amd64: |
|
|
|
stage: build |
|
|
|
stage: build |
|
|
|