Use multiple versions of Qt docker.
This commit is contained in:
parent
3a7f182c52
commit
d721ab6492
|
@ -2,15 +2,54 @@ stages:
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
build-native:
|
build-qt-5.7:
|
||||||
image: registry.gitlab.com/b0/matrique/qt
|
image: rabits/qt:5.7-desktop
|
||||||
stage: build
|
stage: build
|
||||||
before_script:
|
before_script:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
script:
|
script:
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
|
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
|
||||||
- make -j4
|
- make
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build/matrique
|
||||||
|
|
||||||
|
build-qt-5.9:
|
||||||
|
image: rabits/qt:5.9-desktop
|
||||||
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
script:
|
||||||
|
- mkdir -p build && cd build
|
||||||
|
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
|
||||||
|
- make
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build/matrique
|
||||||
|
|
||||||
|
build-qt-5.10:
|
||||||
|
image: rabits/qt:5.10-desktop
|
||||||
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
script:
|
||||||
|
- mkdir -p build && cd build
|
||||||
|
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
|
||||||
|
- make
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- build/matrique
|
||||||
|
|
||||||
|
build-qt-5.11:
|
||||||
|
image: rabits/qt:5.11-desktop
|
||||||
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
script:
|
||||||
|
- mkdir -p build && cd build
|
||||||
|
- qmake ../matrique.pro -spec linux-g++ CONFIG+=qtquickcompiler
|
||||||
|
- make
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/matrique
|
- build/matrique
|
||||||
|
|
Loading…
Reference in New Issue