Skip to content
Snippets Groups Projects
Commit 14953012 authored by Fabian Lennartz's avatar Fabian Lennartz Committed by Bernd Hentschel
Browse files

merged cherry picked CI config

parent c6f8ebcd
No related branches found
No related tags found
1 merge request!137Feature/#448 resource search path
......@@ -30,7 +30,7 @@ stages:
# Windows
#-------------------------------------------------------------------------------
# casual builds
# common builds
conan:windows:msvc++14.1:
stage: conan
......@@ -188,7 +188,184 @@ test:windows_nightly:msvc++14.1:
# Linux
#-------------------------------------------------------------------------------
# casual builds
# clang
# common build
conan:linux:clang:
stage: conan
except:
- shedules
tags:
- CentOS
- opengl
- clang
script:
- mkdir build
- cd build
- export CC=clang
- export CXX=clang++
- conan install .. --build=missing -s compiler="clang" -s compiler.version="4.0" -s compiler.libcxx="libstdc++11" -s build_type=Release
artifacts:
paths:
- build
expire_in: 1 week
cmake:linux:clang:
stage: cmake
except:
- shedules
tags:
- CentOS
- opengl
- clang
dependencies:
- conan:linux:clang
script:
- cd build
- export CC=clang
- export CXX=clang++
- cmake .. -DIS_BUILD_SERVER:BOOL=TRUE -DCMAKE_BUILD_TYPE=Release
artifacts:
untracked: true
paths:
- build
expire_in: 1 week
build:linux:clang:
stage: build
except:
- schedules
tags:
- CentOS
- opengl
- clang
dependencies:
- cmake:linux:clang
script:
- cd build
- export CC=clang
- export CXX=clang++
- make Cpplint-Test-Suite
- make Cppcheck-Test-Suite
- make -j8
artifacts:
paths:
- build
expire_in: 1 week
allow_failure: true
test:linux:clang:
stage: test
except:
- schedules
tags:
- CentOS
- opengl
- clang
dependencies:
- build:linux:clang
script:
- cd build
- export CC=clang
- export CXX=clang++
- make Unit-Test-Suite
# nightly build
clear:linux_nightly:clang:
stage: clear
only:
- schedules
tags:
- nightly
- clang
script:
- echo $CONAN_USER_HOME
- cd /home/gitlab-runner/dev
- rm -rf ./conan_nightly_clang
- mkdir conan_nightly_clang
conan:linux_nightly:clang:
stage: conan
only:
- shedules
tags:
- nightly
- clang
script:
- conan remote add rwth-vr--bintray https://api.bintray.com/conan/rwth-vr/conan
- conan remote add bincrafters_public https://api.bintray.com/conan/bincrafters/public-conan
- mkdir build
- cd build
- export CC=clang
- export CXX=clang++
- conan install .. --build=missing -s compiler="clang" -s compiler.version="4.0" -s compiler.libcxx="libstdc++11" -s build_type=Release
artifacts:
paths:
- build
expire_in: 1 week
cmake:linux_nightly:clang:
stage: cmake
only:
- shedules
tags:
- nightly
- clang
dependencies:
- conan:linux_nightly:clang
script:
- cd build
- export CC=clang
- export CXX=clang++
- cmake .. -DIS_BUILD_SERVER:BOOL=TRUE -DCMAKE_BUILD_TYPE=Release
artifacts:
untracked: true
paths:
- build
expire_in: 1 week
build:linux_nightly:clang:
stage: build
only:
- schedules
tags:
- nightly
- clang
dependencies:
- cmake:linux_nightly:clang
script:
- cd build
- export CC=clang
- export CXX=clang++
- make Cpplint-Test-Suite
- make Cppcheck-Test-Suite
- make -j8
artifacts:
paths:
- build
expire_in: 1 week
allow_failure: true
test:linux_nightly:clang:
stage: test
only:
- schedules
tags:
- nightly
- clang
dependencies:
- build:linux_nightly:clang
script:
- cd build
- export CC=clang
- export CXX=clang++
- make Unit-Test-Suite
# gcc
# common builds
conan:linux:gcc5.3.1:
stage: conan
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment