Spectral/.gitlab-ci.yml

37 lines
738 B
YAML
Raw Normal View History

2018-08-02 10:40:49 +00:00
stages:
- build
2018-08-02 23:23:14 +00:00
- deploy
2018-08-02 10:40:49 +00:00
build-native:
image: registry.gitlab.com/b0/matrique/qt
2018-07-11 11:16:28 +00:00
stage: build
2018-08-02 10:40:49 +00:00
before_script:
2018-07-11 12:28:02 +00:00
- git submodule update --init --recursive
2018-08-02 10:40:49 +00:00
script:
2018-08-02 23:23:14 +00:00
- mkdir -p build && cd build
2018-07-11 12:28:02 +00:00
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
- make -j4
2018-08-14 07:51:03 +00:00
artifacts:
paths:
- build
2018-08-02 10:40:49 +00:00
build-flatpak:
image: registry.gitlab.com/b0/matrique/flatpak
2018-08-02 10:40:49 +00:00
stage: build
2018-08-02 23:23:14 +00:00
before_script:
- git submodule update --init --recursive
2018-08-02 10:40:49 +00:00
script:
2018-08-02 23:23:14 +00:00
- cd flatpak
2018-08-14 07:51:03 +00:00
- flatpak-builder build-dir org.eu.encom.matrique.json --force-clean
2018-08-02 23:23:14 +00:00
- cd ../
artifacts:
paths:
2018-08-14 07:51:03 +00:00
- flatpak/build-dir
2018-08-02 23:23:14 +00:00
deploy-flatpak:
only:
- master
2018-08-14 07:51:03 +00:00
tags:
- deploy-flatpak
2018-08-02 23:23:14 +00:00
script:
2018-08-14 07:51:03 +00:00
- echo "Nothing to do..."