state c++17 requirement in MacOS workflow #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build+regression test Pythia-ISR Dat Output | |
on: | |
workflow_dispatch: | |
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 Dat 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 Dat File Tests | |
run: | | |
export PYTHIA8="${PYTHIA8DIR}" | |
${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/isr/runPythiaIsrDatTest.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 |