Merge branch 'feature/gitlab-ci' into 'master'
Move to Gitlab CI See merge request ilpianista/harbour-Papocchio!1
This commit is contained in:
commit
cdbcee57cf
2 changed files with 54 additions and 1 deletions
53
.gitlab-ci.yml
Normal file
53
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- publish
|
||||||
|
|
||||||
|
.build:
|
||||||
|
stage: build
|
||||||
|
allow_failure: true
|
||||||
|
image: "coderus/sailfishos-platform-sdk:${SFOS_VERSION}"
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- "output/*"
|
||||||
|
script:
|
||||||
|
- sudo mkdir output
|
||||||
|
- mkdir ~/build
|
||||||
|
- cp -r * ~/build
|
||||||
|
- pushd ~/build
|
||||||
|
- mb2 -t SailfishOS-$SFOS_VERSION-armv7hl build
|
||||||
|
- popd
|
||||||
|
- sudo cp -v ~/build/RPMS/* output
|
||||||
|
- rm -rf ~/build/*
|
||||||
|
- cp -r * ~/build
|
||||||
|
- pushd ~/build
|
||||||
|
- mb2 -t SailfishOS-$SFOS_VERSION-i486 build
|
||||||
|
- popd
|
||||||
|
- sudo cp -v ~/build/RPMS/* output
|
||||||
|
- rm -rf ~/build/*
|
||||||
|
- cp -r * ~/build
|
||||||
|
- pushd ~/build
|
||||||
|
- mb2 -t SailfishOS-$SFOS_VERSION-aarch64 build
|
||||||
|
- popd
|
||||||
|
- sudo cp -v ~/build/RPMS/* output
|
||||||
|
- ls -la output
|
||||||
|
|
||||||
|
only:
|
||||||
|
- merge_requests
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
build:
|
||||||
|
extends: .build
|
||||||
|
variables:
|
||||||
|
SFOS_VERSION: "3.4.0.24"
|
||||||
|
|
||||||
|
publish:
|
||||||
|
image: inetprocess/gitlab-release
|
||||||
|
stage: publish
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
|
script:
|
||||||
|
- gitlab-release --message 'Release $CI_COMMIT_TAG' output/*
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
A free-hand draw application for [Sailfish OS](https://sailfishos.org).
|
A free-hand draw application for [Sailfish OS](https://sailfishos.org).
|
||||||
|
|
||||||
[Build status](https://build.merproject.org/package/live_build_log/home:ilpianista/harbour-papocchio/sailfish_latest_armv7hl/armv8el)
|
[![Build Status](https://git.sailfishos.org/ilpianista/harbour-Papocchio/badges/master/pipeline.svg)](https://git.sailfishos.org/ilpianista/harbour-Papocchio/pipelines)
|
||||||
|
|
||||||
## Translations
|
## Translations
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue