From d721ab649273c0c43c1753fdbf1e1aeee94e915a Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sat, 18 Aug 2018 08:18:55 +0000 Subject: [PATCH] Use multiple versions of Qt docker. --- .gitlab-ci.yml | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35fdfaa..6325774 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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