Commit 36e068a8 authored by Martin Schultz's avatar Martin Schultz

added build pathes as artifacts

parent 7dfd5476
Pipeline #5432 failed
......@@ -14,6 +14,9 @@ gcc-c++11-Qt5:
script: "CI/ci-linux.sh"
tags:
- Linux
artifacts:
paths:
- build-release-gcc-cpp11-qt5/
gcc-c++11-Qt5.9.0:
stage:
......@@ -26,6 +29,9 @@ gcc-c++11-Qt5.9.0:
script: "CI/ci-linux.sh"
tags:
- Linux
artifacts:
paths:
- build-release-gcc-cpp11-qt5.9.0/
clang-c++11-Qt5:
stage:
......@@ -39,6 +45,9 @@ clang-c++11-Qt5:
tags:
- Linux
- MultiThreads
artifacts:
paths:
- build-release-clang-cpp11-qt5/
clang-c++11-Qt5.9.0:
stage:
......@@ -52,6 +61,9 @@ clang-c++11-Qt5.9.0:
tags:
- Linux
- MultiThreads
artifacts:
paths:
- build-release-clang-cpp11-qt5.9.0/
test-gcc-c++11-Qt5:
stage:
......@@ -64,6 +76,8 @@ test-gcc-c++11-Qt5:
script: "CI/test-linux.sh"
tags:
- Linux
dependencies:
- gcc-c++11-Qt5
test-gcc-c++11-Qt5.9.0:
stage:
......@@ -76,6 +90,8 @@ test-gcc-c++11-Qt5.9.0:
script: "CI/test-linux.sh"
tags:
- Linux
dependencies:
- gcc-c++11-Qt5.9.0
test-clang-c++11-Qt5:
stage:
......@@ -89,6 +105,8 @@ test-clang-c++11-Qt5:
tags:
- Linux
- MultiThreads
dependencies:
- clang-c++11-Qt5
test-clang-c++11-Qt5.9.0:
stage:
......@@ -102,6 +120,8 @@ test-clang-c++11-Qt5.9.0:
tags:
- Linux
- MultiThreads
dependencies:
- clang-c++11-Qt5.9.0
cppcheck:
stage:
......
if [ "$COMPILER" == "gcc" ]; then
echo "Building with GCC";
BUILDPATH="gcc"
# without icecc: no options required
OPTIONS="-DCMAKE_CXX_COMPILER=/usr/lib/icecc/bin/g++ -DCMAKE_C_COMPILER=/usr/lib/icecc/bin/gcc"
MAKE_OPTIONS="-j16"
export ICECC_CXX=/usr/bin/g++ ; export ICECC_CC=/usr/bin/gcc
elif [ "$COMPILER" == "clang" ]; then
OPTIONS="$OPTIONS -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DGTEST_PREFIX=~/sw/gtest-1.8.0-clang/ "
# Build options with icecc /not working due to strange symbol errors
# OPTIONS="$OPTIONS -DCMAKE_CXX_COMPILER=/usr/lib/icecc/bin/g++ -DCMAKE_C_COMPILER=/usr/lib/icecc/bin/gcc -DGTEST_PREFIX=~/sw/gtest-1.7.0-clang/ "
# export ICECC_CXX=/usr/bin/clang++ ; export ICECC_CC=/usr/bin/clang
BUILDPATH="clang"
MAKE_OPTIONS="-j6"
echo "Building with CLANG";
fi
if [ "$LANGUAGE" == "C++98" ]; then
echo "Building with C++98";
BUILDPATH="$BUILDPATH-cpp98"
elif [ "$LANGUAGE" == "C++11" ]; then
echo "Building with C++11";
OPTIONS="$OPTIONS -DCMAKE_CXX_FLAGS='-std=c++11' "
BUILDPATH="$BUILDPATH-cpp11"
fi
if [ "$QTVERSION" == "QT4" ]; then
echo "Testing with QT4";
echo "Building with QT4";
OPTIONS="$OPTIONS -DFORCE_QT4=TRUE "
BUILDPATH="$BUILDPATH-qt4"
elif [ "$QTVERSION" == "QT5" ]; then
echo "Testing with QT5";
echo "Building with QT5";
BUILDPATH="$BUILDPATH-qt5"
OPTIONS="$OPTIONS -DFORCE_QT4=FALSE -DQWT6_INCLUDE_DIR=~/sw/qwt-6.1.2-qt5/include -DQWT6_LIBRARY_DIR=~/sw/qwt-6.1.2-qt5/lib -DQWT6_LIBRARY=~/sw/qwt-6.1.2-qt5/lib/libqwt-qt5.so -DQT5_INSTALL_PATH=~/sw/qt-5.5.1/5.5/gcc_64"
export LD_LIBRARY_PATH=~/sw/qt-5.5.1/5.5/gcc_64/lib
elif [ "$QTVERSION" == "QT5.9.0" ]; then
echo "Testing with QT5.9.0";
echo "Building with QT5.9.0";
BUILDPATH="$BUILDPATH-qt5.9.0"
OPTIONS="$OPTIONS -DFORCE_QT4=FALSE -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"
export LD_LIBRARY_PATH=~/sw/Qt/5.9/gcc_64/lib
fi
#########################################
......@@ -19,6 +50,9 @@ fi
#########################################
# Run tests
ls
cd build-release-$BUILDPATH
ls
cd tests
bash run_tests.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment