Commit e2b03ee0 authored by Haelwenn's avatar Haelwenn

.gitlab-ci.yml: Try fixing via hints from sailfishos-porters

Drawn from https://gitlab.com/sailfishos-porters-ci/bacon-ci which is my device
parent 66090dcd
image: coderus/sailfishos-platform-sdk:latest
build:
script:
- sudo mkdir RPMS
- cp -r . /home/nemo/harbour-kyclos
- cd /home/nemo/harbour-kyclos
- for target in $(sb2-config -l); do echo $target; mb2 -t $target build; sudo cp RPMS/*.rpm "$CI_PROJECT_DIR/RPMS/"; done
artifacts:
name: RPMS
paths:
- RPMS
...@@ -14,9 +14,9 @@ Name: harbour-kyclos ...@@ -14,9 +14,9 @@ Name: harbour-kyclos
%{?qtc_builddir:%define _builddir %qtc_builddir} %{?qtc_builddir:%define _builddir %qtc_builddir}
Summary: Kyclos Summary: Kyclos
Version: 0.1.0 Version: 0.1.0
Release: 0 Release: 1
Group: Qt/Qt Group: Applications/Internet
License: LICENSE License: GPL-3
URL: https://git.pleroma.social/pleroma/harbour-kyclos URL: https://git.pleroma.social/pleroma/harbour-kyclos
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Source100: harbour-kyclos.yaml Source100: harbour-kyclos.yaml
......
Name: harbour-kyclos Name: harbour-kyclos
Summary: Kyclos Summary: Kyclos
Version: 0.1.0 Version: 0.1.0
Release: 0 Release: 1
# The contents of the Group field should be one of the groups listed here: # The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS # https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Qt/Qt Group: Applications/Internet
URL: https://git.pleroma.social/pleroma/harbour-kyclos URL: https://git.pleroma.social/pleroma/harbour-kyclos
License: GPL-3 License: GPL-3
# This must be generated before uploading a package to a remote build service. # This must be generated before uploading a package to a remote build service.
...@@ -15,7 +15,7 @@ Description: | ...@@ -15,7 +15,7 @@ Description: |
Kyclos is a native SailfishOS client for Pleroma. Kyclos is a native SailfishOS client for Pleroma.
Configure: none Configure: none
# The qtc5 builder inserts macros to allow QtCreator to have fine # The qtc5 builder inserts macros to allow QtCreator to have fine
# control over qmake/make execution # control over qmake/make execution, and "qmake" sets to Qt4 for some reason
Builder: qtc5 Builder: qtc5
# This section specifies build dependencies that are resolved using pkgconfig. # This section specifies build dependencies that are resolved using pkgconfig.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment