4242 with :
4343 key : raw_test_data # fixed key will always hit; clear cache to trigger cache miss
4444 path : |
45- clas_005038.evio.00000
46- clas_021559.evio.00001
4745 clas_018779.evio.00001
4846 lookup-only : true
4947 - name : install xrootd-client
@@ -53,10 +51,12 @@ jobs:
5351 sudo apt -y install xrootd-client
5452 - name : download
5553 if : ${{ steps.cache.outputs.cache-hit != 'true' }}
54+ # run: |
55+ # xrdcp xroot://sci-xrootd.jlab.org///osgpool/hallb/clas12/validation/raw/rg-d/clas_018779.evio.00001 ./
5656 run : |
57- xrdcp xroot://sci-xrootd.jlab.org///osgpool/hallb/clas12/validation/clas_005038.evio.00000 ./
58- xrdcp xroot ://sci-xrootd .jlab.org///osgpool/ hallb/clas12/validation/raw/rg-l/clas_021559.evio.00001 ./
59- xrdcp xroot://sci-xrootd.jlab.org///osgpool/hallb/clas12/validation/ raw/rg-d/clas_018779.evio.00001 ./
57+ git lfs install
58+ git clone --depth 1 https ://code .jlab.org/hallb/clas12/validation-data
59+ cp validation-data/ raw/rg-d/clas_018779.evio.00001 .
6060
6161 # build
6262 # ############################################################################
7676 java-version : ${{ env.JAVA_VERSION }}
7777 distribution : ${{ env.java_distribution }}
7878 cache : maven
79- - name : install xrootd-client (linux)
80- if : ${{ matrix.runner == 'ubuntu-latest' }}
81- run : |
82- sudo apt -y update
83- sudo apt -y install xrootd-client
84- - name : install xrootd-client (macos)
85- if : ${{ matrix.runner == 'macos-latest' }}
86- run : brew install xrootd
8779 - name : setup cvmfs
8880 uses : cvmfs-contrib/github-action-cvmfs@v5
8981 with :
9486 if : ${{ github.ref_type == 'tag' }}
9587 run : libexec/version-bump.sh ${{ github.ref_name }}
9688 - name : build
97- run : ./build-coatjava.sh --clara --xrootd --no-progress -T${{ env.nthreads }}
89+ run : |
90+ git lfs install
91+ git submodule update --init ./etc/data/magfield
92+ ./build-coatjava.sh --cvmfs --no-progress -T${{ env.nthreads }}
93+ ./install-clara -b -c ./coatjava ./clara
9894 - name : tar # tarball to preserve permissions
9995 run : |
10096 tar czvf coatjava.tar.gz coatjava
@@ -134,15 +130,11 @@ jobs:
134130 java-version : ${{ matrix.JAVA_VERSION }}
135131 distribution : ${{ env.java_distribution }}
136132 cache : maven
137- - name : install xrootd-client
138- run : |
139- sudo apt -y update
140- sudo apt -y install xrootd-client
141133 - uses : cvmfs-contrib/github-action-cvmfs@v5
142134 with :
143135 cvmfs_repositories : ' oasis.opensciencegrid.org'
144136 - name : unit tests
145- run : ./build-coatjava.sh --xrootd --unittests --no-progress -T${{ env.nthreads }}
137+ run : ./build-coatjava.sh --cvmfs --unittests --no-progress -T${{ env.nthreads }}
146138 - name : collect jacoco report
147139 if : ${{ matrix.JAVA_VERSION == env.JAVA_VERSION }}
148140 run : validation/jacoco-aggregate.sh
@@ -190,26 +182,20 @@ jobs:
190182 - uses : cvmfs-contrib/github-action-cvmfs@v5
191183 with :
192184 cvmfs_repositories : ' oasis.opensciencegrid.org'
193- - name : install xrootd-client
194- run : |
195- sudo apt -y update
196- sudo apt -y install xrootd-client
197185 - uses : actions/download-artifact@v6
198186 with :
199187 name : build_ubuntu-latest
200188 - uses : actions/cache/restore@v4
201189 with :
202190 key : raw_test_data
203191 path : |
204- clas_005038.evio.00000
205- clas_021559.evio.00001
206192 clas_018779.evio.00001
207193 - name : untar build
208194 run : tar xzvf coatjava.tar.gz
209195 - name : run test
210196 run : |
211197 ls -lhtr
212- ./coatjava/bin/decoder -n 10000 -o dog.hipo ./clas_005038 .evio.00000
198+ ./coatjava/bin/decoder -n 10000 -o dog.hipo ./clas_018779 .evio.00001
213199
214200 test_clara :
215201 needs : [ build, download_test_data ]
@@ -235,8 +221,6 @@ jobs:
235221 with :
236222 key : raw_test_data
237223 path : |
238- clas_005038.evio.00000
239- clas_021559.evio.00001
240224 clas_018779.evio.00001
241225 - name : untar build
242226 run : |
@@ -287,9 +271,13 @@ jobs:
287271 with :
288272 cvmfs_repositories : ' oasis.opensciencegrid.org'
289273 - name : untar build
290- run : tar xzvf coatjava.tar.gz
274+ run : |
275+ tar xzvf coatjava.tar.gz
276+ tar xzvf clara.tar.gz
291277 - name : run test
292278 run : |
279+ git lfs install
280+ git submodule update --init validation/advanced-tests/data
293281 cd validation/advanced-tests
294282 echo "COMMAND: ${{ matrix.cmd }}"
295283 ${{ matrix.cmd }}
0 commit comments