-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (47 loc) · 1.51 KB
/
test-events-Pythia-Isr-Hadron.yaml
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+regression test Pythia-ISR Hadron Output
on:
pull_request:
branches:
- main
- XSCAPE-1.1.5-RC
push:
branches:
- main
- XSCAPE-1.1.5-RC
env:
REPO_NAME: ${{ github.event.repository.name }}
jobs:
build:
name: Pythia-ISR-TEST Hadron File
runs-on: ubuntu-latest
container:
image: jetscape/base:stable
options: --user root
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
path: ${{ github.event.repository.name }}
- name: Download 3DGlauber
run: |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages
./get_3dglauber.sh
./get_music.sh
./get_iSS.sh
- name: Build Application
run: |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}
mkdir build
cd build
cmake .. -DUSE_3DGlauber=ON -DUSE_MUSIC=ON -DUSE_ISS=ON
make -j2
- name: Checkout TEST-EXAMPLES
uses: actions/checkout@v4
with:
repository: JETSCAPE/TEST-EXAMPLES
ref: main
path: TEST-EXAMPLES
- name: Run Pythia ISR Hadron File Tests
run: |
export PYTHIA8="${PYTHIA8DIR}"
${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/isr/runPythiaIsrHadronTest.sh -j ${GITHUB_WORKSPACE}/${REPO_NAME} -a ${GITHUB_WORKSPACE}/TEST-EXAMPLES -c ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/isr/config/jetscape_user_iMATTERMCGlauber.xml -o ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/isr/output/new -r ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/isr/output/latest