Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-06-17 07:06:02

0001 #!/bin/bash
0002 # configuration for the CI runner
0003 
0004 # clone repositories
0005 repo_list="epic EDM4eic irt EICrecon reconstruction_benchmarks"
0006 if [ $# -gt 0 ]; then repo_list=$*; fi
0007 echo "[CI] CLONING REPOSITORIES: $repo_list"
0008 for repo in $repo_list; do
0009   case $repo in
0010     epic)
0011       git clone https://github.com/eic/epic.git --branch main
0012       ;;
0013     EDM4eic)
0014       git clone https://github.com/eic/EDM4eic.git --branch v4.0.0
0015       ;;
0016     irt)
0017       git clone https://github.com/eic/irt.git --branch main
0018       ;;
0019     EICrecon)
0020       git clone https://github.com/eic/EICrecon.git --branch main
0021       ;;
0022     reconstruction_benchmarks)
0023       git clone https://eicweb.phy.anl.gov/EIC/benchmarks/reconstruction_benchmarks.git --branch master
0024       ;;
0025     none)
0026       echo "Not cloning any repositories"
0027       ;;
0028     *)
0029       echo "ERROR: unknown repository '$repo'"
0030       exit 1
0031       ;;
0032   esac
0033 done
0034 exit
0035 
0036 # list files in the current directory
0037 echo "[CI] ls -t $(pwd)"
0038 ls -ltp
0039 
0040 # list files in the installation tree
0041 echo "[CI] PREFIX TREE"
0042 [ -d "prefix" ] && find prefix || echo "no prefix tree"
0043 
0044 # check git branches
0045 echo "[CI] BRANCHES"
0046 check_branches.sh