Testing gitlab ci qt pipelines

This commit is contained in:
Johannes Lenzen
2021-02-02 14:12:04 +01:00
parent 25c9b4d198
commit f97bded9e5
5 changed files with 301 additions and 113 deletions

View File

@@ -37,15 +37,24 @@ cppcheck:
# OS: Linux # OS: Linux
# Compiler: gcc # Compiler: gcc
# Language: cpp11 # Language: cpp11
# QT Version: qt5.15.1
build-debug-gcc-cpp11: build-debug-gcc-cpp11-qt5.15.1:
stage: build stage: build
script: "CI/ci-linux-build.sh gcc cpp11 debug" script: "CI/ci-linux-build.sh gcc cpp11 debug"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "gcc"
LANGUAGE: "cpp11"
QTVERSION: "qt5.15.1"
BUILDTYPE: "debug"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-gcc-cpp11-debug-Vector-Checks/ - build-gcc-cpp11-debug-qt5.15.1-Vector-Checks/
#----------- Job Informations: #----------- Job Informations:
# Type: Test: debug # Type: Test: debug
@@ -53,19 +62,28 @@ build-debug-gcc-cpp11:
# Compiler: gcc # Compiler: gcc
# Language: cpp11 # Language: cpp11
test-debug-gcc-cpp11: test-debug-gcc-cpp11-qt5.15.1:
stage: test stage: test
script: "CI/ci-linux-test.sh gcc cpp11 debug" script: "CI/ci-linux-test.sh gcc cpp11 debug"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-debug-gcc-cpp11] - Linux
needs: [build-debug-gcc-cpp11] - stretch
- MultiThreads
variables:
COMPILER: "gcc"
LANGUAGE: "cpp11"
QTVERSION: "qt5.15.1"
BUILDTYPE: "debug"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-debug-gcc-cpp11-qt5.15.1]
needs: [build-debug-gcc-cpp11-qt5.15.1]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-gcc-cpp11-debug-Vector-Checks/Unittests/report.xml - build-gcc-cpp11-debug-qt5.15.1-Vector-Checks/Unittests/report.xml
- build-gcc-cpp11-debug-Vector-Checks/Unittests/report-customvec.xml - build-gcc-cpp11-debug-qt5.15.1-Vector-Checks/Unittests/report-customvec.xml
- build-gcc-cpp11-debug-Vector-Checks/Unittests/report-doublevec.xml - build-gcc-cpp11-debug-qt5.15.1-Vector-Checks/Unittests/report-doublevec.xml
#----------- Job Informations: #----------- Job Informations:
@@ -73,15 +91,24 @@ test-debug-gcc-cpp11:
# OS: Linux # OS: Linux
# Compiler: gcc # Compiler: gcc
# Language: cpp11 # Language: cpp11
# QT Version: qt5.15.1
build-release-gcc-cpp11: build-release-gcc-cpp11-qt5.15.1:
stage: build stage: build
script: "CI/ci-linux-build.sh gcc cpp11 release" script: "CI/ci-linux-build.sh gcc cpp11 release"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "gcc"
LANGUAGE: "cpp11"
QTVERSION: "qt5.15.1"
BUILDTYPE: "release"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-gcc-cpp11-release-Vector-Checks/ - build-gcc-cpp11-release-qt5.15.1-Vector-Checks/
#----------- Job Informations: #----------- Job Informations:
# Type: Test: release # Type: Test: release
@@ -89,19 +116,28 @@ build-release-gcc-cpp11:
# Compiler: gcc # Compiler: gcc
# Language: cpp11 # Language: cpp11
test-release-gcc-cpp11: test-release-gcc-cpp11-qt5.15.1:
stage: test stage: test
script: "CI/ci-linux-test.sh gcc cpp11 release" script: "CI/ci-linux-test.sh gcc cpp11 release"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-release-gcc-cpp11] - Linux
needs: [build-release-gcc-cpp11] - stretch
- MultiThreads
variables:
COMPILER: "gcc"
LANGUAGE: "cpp11"
QTVERSION: "qt5.15.1"
BUILDTYPE: "release"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-release-gcc-cpp11-qt5.15.1]
needs: [build-release-gcc-cpp11-qt5.15.1]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-gcc-cpp11-release-Vector-Checks/Unittests/report.xml - build-gcc-cpp11-release-qt5.15.1-Vector-Checks/Unittests/report.xml
- build-gcc-cpp11-release-Vector-Checks/Unittests/report-customvec.xml - build-gcc-cpp11-release-qt5.15.1-Vector-Checks/Unittests/report-customvec.xml
- build-gcc-cpp11-release-Vector-Checks/Unittests/report-doublevec.xml - build-gcc-cpp11-release-qt5.15.1-Vector-Checks/Unittests/report-doublevec.xml
#----------- Job Informations: #----------- Job Informations:
@@ -109,15 +145,24 @@ test-release-gcc-cpp11:
# OS: Linux # OS: Linux
# Compiler: clang # Compiler: clang
# Language: cpp11 # Language: cpp11
# QT Version: qt5.15.1
build-debug-clang-cpp11: build-debug-clang-cpp11-qt5.15.1:
stage: build stage: build
script: "CI/ci-linux-build.sh clang cpp11 debug" script: "CI/ci-linux-build.sh clang cpp11 debug"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "clang"
LANGUAGE: "cpp11"
QTVERSION: "qt5.15.1"
BUILDTYPE: "debug"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-clang-cpp11-debug-Vector-Checks/ - build-clang-cpp11-debug-qt5.15.1-Vector-Checks/
#----------- Job Informations: #----------- Job Informations:
# Type: Test: debug # Type: Test: debug
@@ -125,19 +170,28 @@ build-debug-clang-cpp11:
# Compiler: clang # Compiler: clang
# Language: cpp11 # Language: cpp11
test-debug-clang-cpp11: test-debug-clang-cpp11-qt5.15.1:
stage: test stage: test
script: "CI/ci-linux-test.sh clang cpp11 debug" script: "CI/ci-linux-test.sh clang cpp11 debug"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-debug-clang-cpp11] - Linux
needs: [build-debug-clang-cpp11] - stretch
- MultiThreads
variables:
COMPILER: "clang"
LANGUAGE: "cpp11"
QTVERSION: "qt5.15.1"
BUILDTYPE: "debug"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-debug-clang-cpp11-qt5.15.1]
needs: [build-debug-clang-cpp11-qt5.15.1]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-clang-cpp11-debug-Vector-Checks/Unittests/report.xml - build-clang-cpp11-debug-qt5.15.1-Vector-Checks/Unittests/report.xml
- build-clang-cpp11-debug-Vector-Checks/Unittests/report-customvec.xml - build-clang-cpp11-debug-qt5.15.1-Vector-Checks/Unittests/report-customvec.xml
- build-clang-cpp11-debug-Vector-Checks/Unittests/report-doublevec.xml - build-clang-cpp11-debug-qt5.15.1-Vector-Checks/Unittests/report-doublevec.xml
#----------- Job Informations: #----------- Job Informations:
@@ -145,15 +199,24 @@ test-debug-clang-cpp11:
# OS: Linux # OS: Linux
# Compiler: clang # Compiler: clang
# Language: cpp11 # Language: cpp11
# QT Version: qt5.15.1
build-release-clang-cpp11: build-release-clang-cpp11-qt5.15.1:
stage: build stage: build
script: "CI/ci-linux-build.sh clang cpp11 release" script: "CI/ci-linux-build.sh clang cpp11 release"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "clang"
LANGUAGE: "cpp11"
QTVERSION: "qt5.15.1"
BUILDTYPE: "release"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-clang-cpp11-release-Vector-Checks/ - build-clang-cpp11-release-qt5.15.1-Vector-Checks/
#----------- Job Informations: #----------- Job Informations:
# Type: Test: release # Type: Test: release
@@ -161,19 +224,28 @@ build-release-clang-cpp11:
# Compiler: clang # Compiler: clang
# Language: cpp11 # Language: cpp11
test-release-clang-cpp11: test-release-clang-cpp11-qt5.15.1:
stage: test stage: test
script: "CI/ci-linux-test.sh clang cpp11 release" script: "CI/ci-linux-test.sh clang cpp11 release"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-release-clang-cpp11] - Linux
needs: [build-release-clang-cpp11] - stretch
- MultiThreads
variables:
COMPILER: "clang"
LANGUAGE: "cpp11"
QTVERSION: "qt5.15.1"
BUILDTYPE: "release"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-release-clang-cpp11-qt5.15.1]
needs: [build-release-clang-cpp11-qt5.15.1]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-clang-cpp11-release-Vector-Checks/Unittests/report.xml - build-clang-cpp11-release-qt5.15.1-Vector-Checks/Unittests/report.xml
- build-clang-cpp11-release-Vector-Checks/Unittests/report-customvec.xml - build-clang-cpp11-release-qt5.15.1-Vector-Checks/Unittests/report-customvec.xml
- build-clang-cpp11-release-Vector-Checks/Unittests/report-doublevec.xml - build-clang-cpp11-release-qt5.15.1-Vector-Checks/Unittests/report-doublevec.xml
#----------- Job Informations: #----------- Job Informations:
@@ -181,15 +253,24 @@ test-release-clang-cpp11:
# OS: Linux # OS: Linux
# Compiler: gcc # Compiler: gcc
# Language: cpp14 # Language: cpp14
# QT Version: qt5.15.1
build-debug-gcc-cpp14: build-debug-gcc-cpp14-qt5.15.1:
stage: build stage: build
script: "CI/ci-linux-build.sh gcc cpp14 debug" script: "CI/ci-linux-build.sh gcc cpp14 debug"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "gcc"
LANGUAGE: "cpp14"
QTVERSION: "qt5.15.1"
BUILDTYPE: "debug"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-gcc-cpp14-debug-Vector-Checks/ - build-gcc-cpp14-debug-qt5.15.1-Vector-Checks/
#----------- Job Informations: #----------- Job Informations:
# Type: Test: debug # Type: Test: debug
@@ -197,19 +278,28 @@ build-debug-gcc-cpp14:
# Compiler: gcc # Compiler: gcc
# Language: cpp14 # Language: cpp14
test-debug-gcc-cpp14: test-debug-gcc-cpp14-qt5.15.1:
stage: test stage: test
script: "CI/ci-linux-test.sh gcc cpp14 debug" script: "CI/ci-linux-test.sh gcc cpp14 debug"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-debug-gcc-cpp14] - Linux
needs: [build-debug-gcc-cpp14] - stretch
- MultiThreads
variables:
COMPILER: "gcc"
LANGUAGE: "cpp14"
QTVERSION: "qt5.15.1"
BUILDTYPE: "debug"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-debug-gcc-cpp14-qt5.15.1]
needs: [build-debug-gcc-cpp14-qt5.15.1]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-gcc-cpp14-debug-Vector-Checks/Unittests/report.xml - build-gcc-cpp14-debug-qt5.15.1-Vector-Checks/Unittests/report.xml
- build-gcc-cpp14-debug-Vector-Checks/Unittests/report-customvec.xml - build-gcc-cpp14-debug-qt5.15.1-Vector-Checks/Unittests/report-customvec.xml
- build-gcc-cpp14-debug-Vector-Checks/Unittests/report-doublevec.xml - build-gcc-cpp14-debug-qt5.15.1-Vector-Checks/Unittests/report-doublevec.xml
#----------- Job Informations: #----------- Job Informations:
@@ -217,15 +307,24 @@ test-debug-gcc-cpp14:
# OS: Linux # OS: Linux
# Compiler: gcc # Compiler: gcc
# Language: cpp14 # Language: cpp14
# QT Version: qt5.15.1
build-release-gcc-cpp14: build-release-gcc-cpp14-qt5.15.1:
stage: build stage: build
script: "CI/ci-linux-build.sh gcc cpp14 release" script: "CI/ci-linux-build.sh gcc cpp14 release"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "gcc"
LANGUAGE: "cpp14"
QTVERSION: "qt5.15.1"
BUILDTYPE: "release"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-gcc-cpp14-release-Vector-Checks/ - build-gcc-cpp14-release-qt5.15.1-Vector-Checks/
#----------- Job Informations: #----------- Job Informations:
# Type: Test: release # Type: Test: release
@@ -233,19 +332,28 @@ build-release-gcc-cpp14:
# Compiler: gcc # Compiler: gcc
# Language: cpp14 # Language: cpp14
test-release-gcc-cpp14: test-release-gcc-cpp14-qt5.15.1:
stage: test stage: test
script: "CI/ci-linux-test.sh gcc cpp14 release" script: "CI/ci-linux-test.sh gcc cpp14 release"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-release-gcc-cpp14] - Linux
needs: [build-release-gcc-cpp14] - stretch
- MultiThreads
variables:
COMPILER: "gcc"
LANGUAGE: "cpp14"
QTVERSION: "qt5.15.1"
BUILDTYPE: "release"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-release-gcc-cpp14-qt5.15.1]
needs: [build-release-gcc-cpp14-qt5.15.1]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-gcc-cpp14-release-Vector-Checks/Unittests/report.xml - build-gcc-cpp14-release-qt5.15.1-Vector-Checks/Unittests/report.xml
- build-gcc-cpp14-release-Vector-Checks/Unittests/report-customvec.xml - build-gcc-cpp14-release-qt5.15.1-Vector-Checks/Unittests/report-customvec.xml
- build-gcc-cpp14-release-Vector-Checks/Unittests/report-doublevec.xml - build-gcc-cpp14-release-qt5.15.1-Vector-Checks/Unittests/report-doublevec.xml
#----------- Job Informations: #----------- Job Informations:
@@ -253,15 +361,24 @@ test-release-gcc-cpp14:
# OS: Linux # OS: Linux
# Compiler: clang # Compiler: clang
# Language: cpp14 # Language: cpp14
# QT Version: qt5.15.1
build-debug-clang-cpp14: build-debug-clang-cpp14-qt5.15.1:
stage: build stage: build
script: "CI/ci-linux-build.sh clang cpp14 debug" script: "CI/ci-linux-build.sh clang cpp14 debug"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "clang"
LANGUAGE: "cpp14"
QTVERSION: "qt5.15.1"
BUILDTYPE: "debug"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-clang-cpp14-debug-Vector-Checks/ - build-clang-cpp14-debug-qt5.15.1-Vector-Checks/
#----------- Job Informations: #----------- Job Informations:
# Type: Test: debug # Type: Test: debug
@@ -269,19 +386,28 @@ build-debug-clang-cpp14:
# Compiler: clang # Compiler: clang
# Language: cpp14 # Language: cpp14
test-debug-clang-cpp14: test-debug-clang-cpp14-qt5.15.1:
stage: test stage: test
script: "CI/ci-linux-test.sh clang cpp14 debug" script: "CI/ci-linux-test.sh clang cpp14 debug"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-debug-clang-cpp14] - Linux
needs: [build-debug-clang-cpp14] - stretch
- MultiThreads
variables:
COMPILER: "clang"
LANGUAGE: "cpp14"
QTVERSION: "qt5.15.1"
BUILDTYPE: "debug"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-debug-clang-cpp14-qt5.15.1]
needs: [build-debug-clang-cpp14-qt5.15.1]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-clang-cpp14-debug-Vector-Checks/Unittests/report.xml - build-clang-cpp14-debug-qt5.15.1-Vector-Checks/Unittests/report.xml
- build-clang-cpp14-debug-Vector-Checks/Unittests/report-customvec.xml - build-clang-cpp14-debug-qt5.15.1-Vector-Checks/Unittests/report-customvec.xml
- build-clang-cpp14-debug-Vector-Checks/Unittests/report-doublevec.xml - build-clang-cpp14-debug-qt5.15.1-Vector-Checks/Unittests/report-doublevec.xml
#----------- Job Informations: #----------- Job Informations:
@@ -289,15 +415,24 @@ test-debug-clang-cpp14:
# OS: Linux # OS: Linux
# Compiler: clang # Compiler: clang
# Language: cpp14 # Language: cpp14
# QT Version: qt5.15.1
build-release-clang-cpp14: build-release-clang-cpp14-qt5.15.1:
stage: build stage: build
script: "CI/ci-linux-build.sh clang cpp14 release" script: "CI/ci-linux-build.sh clang cpp14 release"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "clang"
LANGUAGE: "cpp14"
QTVERSION: "qt5.15.1"
BUILDTYPE: "release"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-clang-cpp14-release-Vector-Checks/ - build-clang-cpp14-release-qt5.15.1-Vector-Checks/
#----------- Job Informations: #----------- Job Informations:
# Type: Test: release # Type: Test: release
@@ -305,19 +440,28 @@ build-release-clang-cpp14:
# Compiler: clang # Compiler: clang
# Language: cpp14 # Language: cpp14
test-release-clang-cpp14: test-release-clang-cpp14-qt5.15.1:
stage: test stage: test
script: "CI/ci-linux-test.sh clang cpp14 release" script: "CI/ci-linux-test.sh clang cpp14 release"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-release-clang-cpp14] - Linux
needs: [build-release-clang-cpp14] - stretch
- MultiThreads
variables:
COMPILER: "clang"
LANGUAGE: "cpp14"
QTVERSION: "qt5.15.1"
BUILDTYPE: "release"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-release-clang-cpp14-qt5.15.1]
needs: [build-release-clang-cpp14-qt5.15.1]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-clang-cpp14-release-Vector-Checks/Unittests/report.xml - build-clang-cpp14-release-qt5.15.1-Vector-Checks/Unittests/report.xml
- build-clang-cpp14-release-Vector-Checks/Unittests/report-customvec.xml - build-clang-cpp14-release-qt5.15.1-Vector-Checks/Unittests/report-customvec.xml
- build-clang-cpp14-release-Vector-Checks/Unittests/report-doublevec.xml - build-clang-cpp14-release-qt5.15.1-Vector-Checks/Unittests/report-doublevec.xml

View File

@@ -44,6 +44,32 @@ elif [ "$LANGUAGE" == "cpp14" ]; then
BUILDPATH="$BUILDPATH-cpp14" BUILDPATH="$BUILDPATH-cpp14"
fi fi
if [ "$QTVERSION" == "qt5.13.0" ]; then
echo "Using QT5.13.0";
BUILDPATH="$BUILDPATH-qt5.13.0"
OPTIONS="$OPTIONS -DQWT6_INCLUDE_DIR=~/sw/qwt-6.1.4-qt5.13.0/include -DQWT6_LIBRARY_DIR=~/sw/qwt-6.1.4-qt5.13.0/lib -DQWT6_LIBRARY=~/sw/qwt-6.1.4-qt5.13.0/lib/libqwt.so -DQT5_INSTALL_PATH=~/sw/Qt/5.13.0/gcc_64"
elif [ "$QTVERSION" == "qt5.12.2" ]; then
echo "Using QT5.12.2";
BUILDPATH="$BUILDPATH-qt5.12.2"
OPTIONS="$OPTIONS -DQWT6_INCLUDE_DIR=~/sw/qwt-6.1.4-qt5.12.2/include -DQWT6_LIBRARY_DIR=~/sw/qwt-6.1.4-qt5.12.2/lib -DQWT6_LIBRARY=~/sw/qwt-6.1.4-qt5.12.2/lib/libqwt.so -DQT5_INSTALL_PATH=~/sw/Qt/5.12.2/gcc_64"
elif [ "$QTVERSION" == "qt5.11.2" ]; then
echo "Using QT5.11.2";
BUILDPATH="$BUILDPATH-qt5.11.2"
OPTIONS="$OPTIONS -DQWT6_INCLUDE_DIR=~/sw/qwt-6.1.3-qt5.11.2/include -DQWT6_LIBRARY_DIR=~/sw/qwt-6.1.3-qt5.11.2/lib -DQWT6_LIBRARY=~/sw/qwt-6.1.3-qt5.11.2/lib/libqwt.so -DQT5_INSTALL_PATH=~/sw/Qt/5.11.2/gcc_64"
elif [ "$QTVERSION" == "qt5.9.0" ]; then
echo "Using QT5.9.0";
BUILDPATH="$BUILDPATH-qt5.9.0"
OPTIONS="$OPTIONS -DQWT6_INCLUDE_DIR=~/sw/qwt-6.1.3-qt5.9.0/include -DQWT6_LIBRARY_DIR=~/sw/qwt-6.1.3-qt5.9.0/lib -DQWT6_LIBRARY=~/sw/qwt-6.1.3-qt5.9.0/lib/libqwt.so -DQT5_INSTALL_PATH=~/sw/Qt/5.9/gcc_64"
elif [ "$QTVERSION" == "qt5.13.2" ]; then
echo "Using QT5.13.2";
BUILDPATH="$BUILDPATH-qt5.13.2"
OPTIONS="$OPTIONS -DQWT6_INCLUDE_DIR=~/sw/qwt-6.1.4-qt5.13.2/include -DQWT6_LIBRARY_DIR=~/sw/qwt-6.1.4-qt5.13.2/lib -DQWT6_LIBRARY=~/sw/qwt-6.1.4-qt5.13.2/lib/libqwt.so -DQT5_INSTALL_PATH=~/sw/Qt/5.13.2/gcc_64"
elif [ "$QTVERSION" == "qt5.15.1" ]; then
echo "Using QT5.15.1";
BUILDPATH="$BUILDPATH-qt5.15.1"
OPTIONS="$OPTIONS -DQWT6_INCLUDE_DIR=~/sw/qwt-6.1.5-qt5.15.1/include -DQWT6_LIBRARY_DIR=~/sw/qwt-6.1.5-qt5.15.1/lib -DQWT6_LIBRARY=~/sw/qwt-6.1.5-qt5.15.1/lib/libqwt.so -DQT5_INSTALL_PATH=~/sw/Qt/5.15.1/gcc_64"
fi
#===================================== #=====================================
# Color Settings: # Color Settings:
#===================================== #=====================================

View File

@@ -3,12 +3,21 @@
# OS: Linux # OS: Linux
# Compiler: {{COMPILER}} # Compiler: {{COMPILER}}
# Language: {{LANGUAGE}} # Language: {{LANGUAGE}}
# QT Version: {{QT_VERSION}}
build-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}: build-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}-{{QT_VERSION}}:
stage: build stage: build
script: "CI/ci-linux-build.sh {{COMPILER}} {{LANGUAGE}} {{BUILDTYPE}}" script: "CI/ci-linux-build.sh {{COMPILER}} {{LANGUAGE}} {{BUILDTYPE}}"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] variables:
COMPILER: "{{COMPILER}}"
LANGUAGE: "{{LANGUAGE}}"
QTVERSION: "{{QT_VERSION}}"
BUILDTYPE: "{{BUILDTYPE}}"
GIT_SUBMODULE_STRATEGY: recursive
tags:
- Linux
- stretch
artifacts: artifacts:
paths: paths:
- build-{{COMPILER}}-{{LANGUAGE}}-{{BUILDTYPE}}-Vector-Checks/ - build-{{COMPILER}}-{{LANGUAGE}}-{{BUILDTYPE}}-{{QT_VERSION}}-Vector-Checks/

View File

@@ -4,17 +4,26 @@
# Compiler: {{COMPILER}} # Compiler: {{COMPILER}}
# Language: {{LANGUAGE}} # Language: {{LANGUAGE}}
test-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}: test-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}-{{QT_VERSION}}:
stage: test stage: test
script: "CI/ci-linux-test.sh {{COMPILER}} {{LANGUAGE}} {{BUILDTYPE}}" script: "CI/ci-linux-test.sh {{COMPILER}} {{LANGUAGE}} {{BUILDTYPE}}"
image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container #image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
tags: [Docker] tags:
dependencies: [build-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}] - Linux
needs: [build-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}] - stretch
- MultiThreads
variables:
COMPILER: "{{COMPILER}}"
LANGUAGE: "{{LANGUAGE}}"
QTVERSION: "{{QT_VERSION}}"
BUILDTYPE: "{{BUILDTYPE}}"
GIT_SUBMODULE_STRATEGY: recursive
dependencies: [build-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}-{{QT_VERSION}}]
needs: [build-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}-{{QT_VERSION}}]
artifacts: artifacts:
reports: reports:
junit: junit:
- build-{{COMPILER}}-{{LANGUAGE}}-{{BUILDTYPE}}-Vector-Checks/Unittests/report.xml - build-{{COMPILER}}-{{LANGUAGE}}-{{BUILDTYPE}}-{{QT_VERSION}}-Vector-Checks/Unittests/report.xml
- build-{{COMPILER}}-{{LANGUAGE}}-{{BUILDTYPE}}-Vector-Checks/Unittests/report-customvec.xml - build-{{COMPILER}}-{{LANGUAGE}}-{{BUILDTYPE}}-{{QT_VERSION}}-Vector-Checks/Unittests/report-customvec.xml
- build-{{COMPILER}}-{{LANGUAGE}}-{{BUILDTYPE}}-Vector-Checks/Unittests/report-doublevec.xml - build-{{COMPILER}}-{{LANGUAGE}}-{{BUILDTYPE}}-{{QT_VERSION}}-Vector-Checks/Unittests/report-doublevec.xml

View File

@@ -12,9 +12,9 @@ cppcheck:
paths: paths:
- cppcheck.log - cppcheck.log
{linux-template-job.yml, COMPILER=gcc, LANGUAGE=cpp11} {linux-template-job.yml, COMPILER=gcc, LANGUAGE=cpp11, QT_VERSION=qt5.15.1}
{linux-template-job.yml, COMPILER=clang, LANGUAGE=cpp11} {linux-template-job.yml, COMPILER=clang, LANGUAGE=cpp11, QT_VERSION=qt5.15.1}
{linux-template-job.yml, COMPILER=gcc, LANGUAGE=cpp14} {linux-template-job.yml, COMPILER=gcc, LANGUAGE=cpp14, QT_VERSION=qt5.15.1}
{linux-template-job.yml, COMPILER=clang, LANGUAGE=cpp14} {linux-template-job.yml, COMPILER=clang, LANGUAGE=cpp14, QT_VERSION=qt5.15.1}
{linux-iwyu-job.yml, BUILDTYPE=release, COMPILER=clang, LANGUAGE=cpp14} {linux-iwyu-job.yml, BUILDTYPE=release, COMPILER=clang, LANGUAGE=cpp14, QT_VERSION=qt5.15.1}