Use multiple versions of Qt docker.

This commit is contained in:
Black Hat 2018-08-18 08:18:55 +00:00
parent 3a7f182c52
commit d721ab6492
1 changed files with 42 additions and 3 deletions

View File

@ -2,15 +2,54 @@ stages:
- build
- deploy
build-native:
image: registry.gitlab.com/b0/matrique/qt
build-qt-5.7:
image: rabits/qt:5.7-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 -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:
paths:
- build/matrique