Skip to content

code cleanup

code cleanup #200

---
name: cpp11-buildmatrix
# Controls when the workflow will run
on:
pull_request:
branches: [main, master, v490-dev-v0.7]
# run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
root:
- "rootproject/root:6.24.06-centos7"
- "rootproject/root:6.22.08-ubuntu20.04"
runs-on: ${{ matrix.os }}
container: ${{ matrix.root }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v3
- name: vbf
run: |
curl https://syncandshare.desy.de/index.php/s/${{ secrets.VBFcpp11 }}/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.SOFA }}/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 VTS