Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Includes Brick Matter Lbt Automated Test #19

Merged
merged 2 commits into from
Apr 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/test-events-brick.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: build+regression test brick matter lbt

on:
pull_request:
branches:
- main
- XSCAPE-1.1.2-RC
- brick_matter_lbt

push:
branches:
- main
- XSCAPE-1.1.2-RC
- brick_matter_lbt

env:
REPO_NAME: ${{ github.event.repository.name }}

jobs:
build:
name: brick_matter_lbt
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 Lbt Tables
run: |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages
./get_lbtTab.sh

- 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 Brick Matter Lbt tests
run: ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/brick_matter_lbt/runBrickMatterLbtTest.sh -j ${GITHUB_WORKSPACE}/${REPO_NAME} -a ${GITHUB_WORKSPACE}/TEST-EXAMPLES -c ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/brick_matter_lbt/config/jetscape_user.xml -o ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/brick_matter_lbt/output/new -r ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/brick_matter_lbt/output/latest