mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-12-22 22:15:17 +00:00
Merge branch 'master' of github.com:HenkKalkwater/harbour-sailfin
This commit is contained in:
commit
14c9de0aac
41
.gitlab-ci.yml
Normal file
41
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
variables: &variables
|
||||
SFOS_VERSION: 4.1.0.24
|
||||
BUILD_PATH: /home/mersdk/harbour-sailfin
|
||||
|
||||
stages:
|
||||
- lint
|
||||
- build
|
||||
|
||||
image: coderus/sailfishos-platform-sdk:$SFOS_VERSION
|
||||
default:
|
||||
before_script:
|
||||
- cp -a . $BUILD_PATH && cd $BUILD_PATH
|
||||
|
||||
lint:sfos:qmllint:
|
||||
stage: lint
|
||||
script:
|
||||
- sudo zypper --non-interactive install qt5-qtdeclarative-devel-tools
|
||||
- cd sailfish/qml
|
||||
# Find all files ending in .qml or .js and pass them as arguments to qmllint
|
||||
- find -type f \( -name \*.qml -o -name \*.js \) -exec /usr/lib/qt5/bin/qmllint \{\} +
|
||||
allow_failure: true
|
||||
|
||||
.build:sfos: &build
|
||||
stage: build
|
||||
artifacts:
|
||||
paths:
|
||||
- $BUILD_PATH/RPMS/
|
||||
script:
|
||||
- mb2 -t SailfishOS-$SFOS_VERSION-$MER_ARCH build
|
||||
|
||||
build:sfos:armv7hl:
|
||||
variables:
|
||||
<<: *variables
|
||||
MER_ARCH: armv7hl
|
||||
<<: *build
|
||||
|
||||
build:sfos:aarch64:
|
||||
variables:
|
||||
<<: *variables
|
||||
MER_ARCH: aarch64
|
||||
<<: *build
|
Loading…
Reference in a new issue