Skip to content

Commit

Permalink
Merge pull request #212 from rest-for-physics/jgalan_pipeline
Browse files Browse the repository at this point in the history
.gitlab-ci.yml adding axionlib to build and install
  • Loading branch information
jgalan authored May 18, 2022
2 parents 72a0c34 + 58b56b0 commit 4a21d78
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Build and Install:
- rm -rf ${CI_PROJECT_DIR}/build && mkdir ${CI_PROJECT_DIR}/build && cd ${CI_PROJECT_DIR}/build
- rm -rf ${CI_PROJECT_DIR}/install
- cmake ${CI_PROJECT_DIR} -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR}/install
-DREST_GARFIELD=ON -DREST_G4=ON -DRESTLIB_DETECTOR=ON -DRESTLIB_RAW=ON -DRESTLIB_TRACK=ON -DREST_WELCOME=OFF
-DREST_GARFIELD=ON -DREST_G4=ON -DRESTLIB_DETECTOR=ON -DRESTLIB_RAW=ON -DRESTLIB_TRACK=ON -DRESTLIB_AXION=ON -DREST_WELCOME=OFF
- make install -j2

artifacts:
Expand Down
15 changes: 15 additions & 0 deletions pull-submodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@
clean = False
fbName = ""

if( len(sys.argv ) <= 1 ):
print( " " )
print( "pull-submodules.py requires arguments." )
print( " " )
print( " - clean : It will restore all submodules to the official release versions" )
print( " - latest : It will pull the master branch of each submodule" )
print( " " )
print( "Usage: " )
print( "python3 pull-submodules.py --clean" )
print( "python3 pull-submodules.py --latest" )
print ( " ")
print( "When using --clean make sure the framework local repository is at an official release" )
print ( " " )
sys.exit(1)

exclude_elems = ""
for x in range(len(sys.argv) - 1):
if sys.argv[x + 1] == "--lfna":
Expand Down

0 comments on commit 4a21d78

Please sign in to comment.