Fix Debian.
This commit is contained in:
parent
46bae07d4d
commit
7a72d30195
|
@ -2,35 +2,33 @@ stages:
|
|||
- preparation
|
||||
- build
|
||||
- deploy
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- tmp/
|
||||
|
||||
preparation-flatpak:
|
||||
image: debian:latest
|
||||
stage: preparation
|
||||
before_script:
|
||||
- mkdir tmp
|
||||
- apt update
|
||||
- apt install git
|
||||
- apt-get update
|
||||
- apt-get install -y git
|
||||
script:
|
||||
- cd tmp
|
||||
- git clone "https://$GIT_USERNAME:$GIT_PASSWORD@gitlab.com/b0/matrique-repo"
|
||||
- cd ../
|
||||
artifacts:
|
||||
paths:
|
||||
- tmp/
|
||||
|
||||
build-native:
|
||||
image: rabits/qt:5.11-desktop
|
||||
stage: build
|
||||
cache: {}
|
||||
before_script:
|
||||
- git submodule update --init --recursive
|
||||
script:
|
||||
- mkdir build && cd build
|
||||
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
|
||||
- make -j4
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- build/
|
||||
|
||||
build-flatpak:
|
||||
image: black0/flatpak
|
||||
|
@ -42,9 +40,6 @@ build-flatpak:
|
|||
- cd flatpak
|
||||
- flatpak-builder --repo=../tmp/matrique-repo/public build-dir org.eu.encom.matrique.json --force-clean --gpg-sign=52986BF4D61350EC249F2E891B0DB3358FC5E4B2
|
||||
- cd ../
|
||||
artifacts:
|
||||
paths:
|
||||
- tmp/
|
||||
|
||||
deploy-flatpak:
|
||||
image: alpine/git
|
||||
|
|
Loading…
Reference in New Issue