Spectral/.gitlab-ci.yml

42 lines
983 B
YAML

stages:
- build
- deploy
build-native:
image: registry.gitlab.com/b0/matrique/qt
stage: build
before_script:
- git submodule update --init --recursive
script:
- mkdir -p build && cd build
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
- make -j4
artifacts:
paths:
- build
build-flatpak:
image: registry.gitlab.com/b0/matrique/flatpak
stage: build
before_script:
- git submodule update --init --recursive
script:
- cd flatpak
- flatpak-builder build-dir org.eu.encom.matrique.json --force-clean
- cd ../
artifacts:
paths:
- flatpak/build-dir
deploy-flatpak:
stage: deploy
only:
- master
tags:
- deploy-flatpak
dependencies: []
before_script:
- git submodule update --init --recursive
script:
- cd flatpak
- flatpak-builder --repo=/var/www/matrique-flatpak build-dir org.eu.encom.matrique.json --force-clean --gpg-sign=52986BF4D61350EC249F2E891B0DB3358FC5E4B2