Skip to content

Merge pull request #38 from JETSCAPE/latessa/gtl_binary_function #70

Merge pull request #38 from JETSCAPE/latessa/gtl_binary_function

Merge pull request #38 from JETSCAPE/latessa/gtl_binary_function #70

name: build+regression test Pythia-ISR Parton 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 Parton 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 Parton File Tests
run: |
export PYTHIA8="${PYTHIA8DIR}"
${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/isr/runPythiaIsrPartonTest.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