Skip to content
Snippets Groups Projects

New single build jobs to test the build of the distribution kits

Merged Riccardo Maria Bianchi requested to merge ci-new-singlebuild-jobs into master
1 file
+ 113
2
Compare changes
  • Side-by-side
  • Inline
+ 113
2
@@ -262,7 +262,11 @@ mac-gm-atlasextras:
@@ -262,7 +262,11 @@ mac-gm-atlasextras:
CMAKE_CONFIG_FLAGS: -DGEOMODEL_BUILD_ATLASEXTENSIONS=TRUE
CMAKE_CONFIG_FLAGS: -DGEOMODEL_BUILD_ATLASEXTENSIONS=TRUE
### UBUNTU BUILD JOBS
### UBUNTU ALL-IN-ONE BUILD JOBS
 
 
### These jobs build the various GeoModel sub-packages with the use of the CMake
 
### build options.
 
ubu-coin:
ubu-coin:
<<: *ubuntu-job
<<: *ubuntu-job
<<: *coin-job
<<: *coin-job
@@ -352,7 +356,6 @@ ubu-gm-atlasextras:
@@ -352,7 +356,6 @@ ubu-gm-atlasextras:
CMAKE_ARGS: ${CMAKE_BASE_ARGS}
CMAKE_ARGS: ${CMAKE_BASE_ARGS}
CMAKE_CONFIG_FLAGS: -DGEOMODEL_BUILD_ATLASEXTENSIONS=TRUE
CMAKE_CONFIG_FLAGS: -DGEOMODEL_BUILD_ATLASEXTENSIONS=TRUE
#TODO: this does not work properly. Needs some work...
#TODO: this does not work properly. Needs some work...
# ubu-gm-fullsimlight-customxercesc-builtinjson:
# ubu-gm-fullsimlight-customxercesc-builtinjson:
# <<: *ubuntu-job
# <<: *ubuntu-job
@@ -367,6 +370,114 @@ ubu-gm-atlasextras:
@@ -367,6 +370,114 @@ ubu-gm-atlasextras:
# rules:
# rules:
# - when: manual
# - when: manual
 
 
 
 
### UBUNTU SINGLE BUILD JOBS
 
 
### These jobs build the various GeoModel sub-packages as single top-tree packages,
 
### one of top of the others. This is what is used, for example, when building
 
### distribution kits, such as the Homebrew 'bottles' for macOS.
 
### Therefore, these jobs test the succesfull build of the GeoModel side for the
 
### distribution kits. If these jobs fail, the formula building the
 
### distribution kits will fail as well.
 
 
ubu-single-gmbase:
 
<<: *ubuntu-job
 
stage: step-A
 
variables:
 
CMAKE_ARGS: ${CMAKE_BASE_ARGS}
 
script:
 
- mkdir build
 
- cd build
 
- cmake ${CMAKE_ARGS} .. # the CMAKE_EXTRA_FLAGS are set by specific jobs when needed
 
- cmake --build . -- -j2
 
- cmake --build . -- install
 
artifacts:
 
paths:
 
- install
 
 
ubu-single-gmtools:
 
<<: *ubuntu-job
 
stage: step-B
 
needs: ["ubu-single-gmbase"]
 
variables:
 
CMAKE_ARGS: ${CMAKE_BASE_ARGS}
 
script:
 
- mkdir build
 
- cd build
 
- cmake ${CMAKE_ARGS} ../GeoModelTools # the CMAKE_EXTRA_FLAGS are set by specific jobs when needed
 
- cmake --build . -- -j2
 
- cmake --build . -- install
 
artifacts:
 
paths:
 
- install
 
 
ubu-single-gmviz:
 
<<: *ubuntu-job
 
stage: step-C
 
needs: ["ubu-single-gmbase", "ubu-soqt"]
 
variables:
 
CMAKE_ARGS: ${CMAKE_BASE_ARGS}
 
script:
 
- mkdir build
 
- cd build
 
- cmake ${CMAKE_ARGS} ../GeoModelVisualization # the CMAKE_EXTRA_FLAGS are set by specific jobs when needed
 
- cmake --build . -- -j2
 
- cmake --build . -- install
 
artifacts:
 
paths:
 
- install
 
 
ubu-single-gmg4:
 
<<: *ubuntu-job
 
stage: step-C
 
needs: ["ubu-single-gmbase", "ubu-geant4"]
 
variables:
 
CMAKE_ARGS: ${CMAKE_BASE_ARGS}
 
script:
 
- mkdir build
 
- cd build
 
- cmake ${CMAKE_ARGS} ../GeoModelG4 # the CMAKE_EXTRA_FLAGS are set by specific jobs when needed
 
- cmake --build . -- -j2
 
- cmake --build . -- install
 
artifacts:
 
paths:
 
- install
 
 
ubu-single-gmfullsimlight:
 
<<: *ubuntu-job
 
stage: step-D
 
needs: ["ubu-single-gmg4", "ubu-geant4"]
 
variables:
 
CMAKE_ARGS: ${CMAKE_BASE_ARGS}
 
script:
 
- mkdir build
 
- cd build
 
- cmake ${CMAKE_ARGS} ../FullSimLight # the CMAKE_EXTRA_FLAGS are set by specific jobs when needed
 
- cmake --build . -- -j2
 
- cmake --build . -- install
 
artifacts:
 
paths:
 
- install
 
 
ubu-single-gmfsl:
 
<<: *ubuntu-job
 
stage: step-E
 
needs: ["ubu-single-gmfullsimlight"]
 
variables:
 
CMAKE_ARGS: ${CMAKE_BASE_ARGS}
 
script:
 
- mkdir build
 
- cd build
 
- cmake ${CMAKE_ARGS} ../FSL # the CMAKE_EXTRA_FLAGS are set by specific jobs when needed
 
- cmake --build . -- -j2
 
- cmake --build . -- install
 
artifacts:
 
paths:
 
- install
 
 
#####################
#####################
### Documentation ###
### Documentation ###
#####################
#####################
Loading