Skip to content
Snippets Groups Projects
Commit ba854432 authored by brusale's avatar brusale
Browse files

include build with CMake in workflow

parent ef437634
No related branches found
No related tags found
No related merge requests found
...@@ -57,13 +57,17 @@ cd $CURRENT_DIR ...@@ -57,13 +57,17 @@ cd $CURRENT_DIR
if $recompile ; then if $recompile ; then
print_step "Cleaning up before recompiling" print_step "Cleaning up before recompiling"
make clean -s make clean -s
print_step "Recompiling" print_step "Generating build files"
mkdir -p build && cd build
cmake ..
print_step "Compiling the project"
make -s -j $NWORKERS make -s -j $NWORKERS
cd $CURRENT_DIR
fi fi
if $run_merging ; then if $run_merging ; then
print_step "Running the cluster merging" print_step "Running the cluster merging"
./COCOATruth /ceph/abrusamolino/PFTruthSamples/COCOATests/SingleElectron_Geant4_FlatEtaPt.root ./build/COCOATruth /ceph/abrusamolino/PFTruthSamples/COCOATests/SingleElectron_Geant4_FlatEtaPt.root
fi fi
print_step "Done" print_step "Done"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment