This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (53 loc) · 1.85 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Build against eic-shell
on:
push:
branches:
- main
tags:
- '*'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: eic/run-cvmfs-osg-eic-shell@main
with:
platform-release: "jug_xl:nightly"
setup: /opt/detector/epic-main/bin/thisepic.sh
run: |
test "$(scripts/generate.sh)" = "e-_1GeV_45to135deg.steer"
scripts/generate.sh && test -f e-_1GeV_45to135deg.steer
scripts/generate.sh e- 1*GeV 45 135 && test -f e-_1GeV_45to135deg.steer
scripts/generate.sh J/psi 1*GeV && test -f Jpsi_1GeV_45to135deg.steer
scripts/generate.sh eta_prime 1*GeV && test -f etaprime_1GeV_45to135deg.steer
scripts/generate.sh anti_nu_mu 1*GeV && test -f antinumu_1GeV_45to135deg.steer
run_electron_1GeV_45to135deg:
needs: generate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: eic/run-cvmfs-osg-eic-shell@main
with:
platform-release: "jug_xl:nightly"
setup: /opt/detector/epic-main/bin/thisepic.sh
run: |
scripts/run.sh EVGEN/SINGLE/e-/1GeV/45to135deg/e-_1GeV_45to135deg.steer 100
run_pion_1GeV_3to50deg_0001:
needs: generate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: eic/run-cvmfs-osg-eic-shell@main
with:
platform-release: "jug_xl:nightly"
setup: /opt/detector/epic-main/bin/thisepic.sh
run: |
scripts/run.sh EVGEN/SINGLE/pi+/1GeV/3to50deg/pi+_1GeV_3to50deg.steer 100 0001