Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.gitlab-ci.yml adding axionlib to build and install #212

Merged
merged 2 commits into from
May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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