Skip to content

Merge pull request #43 from JETSCAPE/reuseHydroFix #80

Merge pull request #43 from JETSCAPE/reuseHydroFix

Merge pull request #43 from JETSCAPE/reuseHydroFix #80

name: build+regression test (limited) PbPb
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: pp+PbPb
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: Build Application
run: |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}
mkdir build
cd build
cmake ..
make -j2
- name: Checkout TEST-EXAMPLES
uses: actions/checkout@v4
with:
repository: JETSCAPE/TEST-EXAMPLES
ref: main
path: TEST-EXAMPLES
- name: Run Pb-Pb tests
run: ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/runTest.sh -j ${GITHUB_WORKSPACE}/${REPO_NAME} -a ${GITHUB_WORKSPACE}/TEST-EXAMPLES -c ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/PbPb/config/jetscapeTestConfig.yaml -o ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/PbPb/output/new -r ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/PbPb/output/latest