Skip to content
Snippets Groups Projects
Commit f0f198c2 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Introduced "standalone" builds into the CI configuration.

parent 195e14ca
No related branches found
No related tags found
1 merge request!1CMake Build Configuration Updates, master branch (2020.03.12.)
...@@ -21,10 +21,10 @@ before_script: ...@@ -21,10 +21,10 @@ before_script:
- git clone https://gitlab.cern.ch/GeoModelDev/GeoModelIO.git - git clone https://gitlab.cern.ch/GeoModelDev/GeoModelIO.git
- mkdir GeoModelCore-build GeoModelIO-build - mkdir GeoModelCore-build GeoModelIO-build
- cd GeoModelCore-build/ - cd GeoModelCore-build/
- cmake -GNinja -DCMAKE_INSTALL_PREFIX=../dependencies-install ../GeoModelCore/ - cmake -GNinja -DCMAKE_INSTALL_PREFIX=../dependencies-install ${CMAKE_EXTRA_FLAGS} ../GeoModelCore/
- cmake --build . --target install - cmake --build . --target install
- cd ../GeoModelIO-build/ - cd ../GeoModelIO-build/
- cmake -GNinja -DCMAKE_INSTALL_PREFIX=../dependencies-install -DCMAKE_PREFIX_PATH=${PWD}/../dependencies-install ../GeoModelIO/ - cmake -GNinja -DCMAKE_INSTALL_PREFIX=../dependencies-install -DCMAKE_PREFIX_PATH=${PWD}/../dependencies-install ${CMAKE_EXTRA_FLAGS} ../GeoModelIO/
- cmake --build . --target install - cmake --build . --target install
artifacts: artifacts:
paths: paths:
...@@ -38,6 +38,18 @@ dependencies:centos7: ...@@ -38,6 +38,18 @@ dependencies:centos7:
<<: *dependencies_template <<: *dependencies_template
image: cern/cc7-base:latest image: cern/cc7-base:latest
dependencies:slc6-standalone:
<<: *dependencies_template
image: cern/slc6-base:latest
variables:
CMAKE_EXTRA_FLAGS: -DCMAKE_USE_BUILTIN_EIGEN=TRUE
dependencies:centos7-standalone:
<<: *dependencies_template
image: cern/cc7-base:latest
variables:
CMAKE_EXTRA_FLAGS: -DCMAKE_USE_BUILTIN_EIGEN=TRUE
# Build this project. # Build this project.
.build_template: &build_template .build_template: &build_template
stage: build stage: build
...@@ -47,7 +59,7 @@ dependencies:centos7: ...@@ -47,7 +59,7 @@ dependencies:centos7:
script: script:
- mkdir build - mkdir build
- cd build/ - cd build/
- cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=${PWD}/../dependencies-install ../ - cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=${PWD}/../dependencies-install ${CMAKE_EXTRA_FLAGS} ../
- cmake --build . - cmake --build .
build:slc6: build:slc6:
...@@ -61,3 +73,19 @@ build:centos7: ...@@ -61,3 +73,19 @@ build:centos7:
image: cern/cc7-base:latest image: cern/cc7-base:latest
dependencies: dependencies:
- dependencies:centos7 - dependencies:centos7
build:slc6-standalone:
<<: *build_template
image: cern/slc6-base:latest
dependencies:
- dependencies:slc6-standalone
variables:
CMAKE_EXTRA_FLAGS: -DGEOMODEL_USE_BUILTIN_XERCESC=TRUE -DGEOMODEL_USE_BUILTIN_JSON=TRUE
build:centos7-standalone:
<<: *build_template
image: cern/cc7-base:latest
dependencies:
- dependencies:centos7-standalone
variables:
CMAKE_EXTRA_FLAGS: -DGEOMODEL_USE_BUILTIN_XERCESC=TRUE -DGEOMODEL_USE_BUILTIN_JSON=TRUE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment