Skip to content

Commit e0715b3

Browse files
committed
add decoding CI job
1 parent 86f6f9c commit e0715b3

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,34 @@ jobs:
105105
path: publish/
106106
retention-days: 1
107107

108+
test_decoder:
109+
needs: [ build ]
110+
runs-on: ubuntu-latest
111+
steps:
112+
- uses: actions/checkout@v4
113+
- name: Set up JDK
114+
uses: actions/setup-java@v4
115+
with:
116+
java-version: ${{ env.java_version }}
117+
distribution: ${{ env.java_distribution }}
118+
- uses: cvmfs-contrib/github-action-cvmfs@v5
119+
with:
120+
cvmfs_repositories: 'oasis.opensciencegrid.org'
121+
- name: install xrootd-client
122+
run: |
123+
sudo apt -y update
124+
sudo apt -y upgrade
125+
sudo apt -y install xrootd-client
126+
- uses: actions/download-artifact@v4
127+
with:
128+
name: build_ubuntu-latest
129+
- name: untar build
130+
run: tar xzvf coatjava.tar.gz
131+
- name: run test
132+
run: |
133+
xrdcp xroot://sci-xrootd.jlab.org///osgpool/hallb/clas12/validation/clas_005038.evio.00000 .
134+
./coatjava/bin/decoder -n 100000 -o dog.hipo ./clas_005038.evio.00000
135+
108136
test_coatjava:
109137
needs: [ build ]
110138
strategy:

0 commit comments

Comments
 (0)