-
Notifications
You must be signed in to change notification settings - Fork 2
50 lines (40 loc) · 1.21 KB
/
test-events-PbPb.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
name: build+regression test (limited) PbPb
on:
pull_request:
branches:
- main
- XSCAPE-1.1-RC
- XSCAPE-1.1-RC_mergeMUSIC
push:
branches:
- main
- XSCAPE-1.1-RC
- XSCAPE-1.1-RC_mergeMUSIC
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
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