-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (42 loc) · 1.48 KB
/
ci-buildmatrix-cpp17.yml
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
---
name: cpp17-buildmatrix
# Controls when the workflow will run
on:
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
root:
- "rootproject/root:latest"
- "rootproject/root:6.26.06-ubuntu22.04"
- "rootproject/root:6.30.02-alma9"
runs-on: ${{ matrix.os }}
container: ${{ matrix.root }}
steps:
- uses: actions/checkout@v4
- name: install libblas
if: ${{ matrix.root == 'rootproject/root:latest' || matrix.root == 'rootproject/root:6.26.06-ubuntu22.04' }}
run: apt-get install -y libblas-dev
- name: vbf
run: |
curl https://syncandshare.desy.de/index.php/s/${{ secrets.VBFcpp17 }}/download > VBF.tar.gz
mkdir VBF && tar -xzf VBF.tar.gz -C VBF --strip-components=1
cd VBF && ./configure --prefix=$(echo $GITHUB_WORKSPACE)/VBF
make
make install
- name: sofa
run: |
curl https://syncandshare.desy.de/index.php/s/${{ secrets.SOFA20231011 }}/download > sofa/sofa.tar.gz
./install_sofa.sh
- name: eventdisplay
run: |
root-config --version
export EVNDISPSYS=$(echo $GITHUB_WORKSPACE)
export VBFSYS=$(echo $GITHUB_WORKSPACE)/VBF
export LD_LIBRARY_PATH="${EVNDISPSYS}/obj:${EVNDISPSYS}/lib:${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH="${VBFSYS}/lib:${LD_LIBRARY_PATH}"
export SOFASYS=/sofa
make -j 4 VTS