Download sofa/vbf outside of container #558
Workflow file for this run
This file contains hidden or 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: 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.32.04-ubuntu24.04" | |
| runs-on: ${{ matrix.os }} | |
| container: ${{ matrix.root }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install libblas (needed by TMVA) | |
| run: | | |
| apt-get update && apt-get install -y libopenblas-dev | |
| - name: vbf | |
| run: | | |
| curl -L --retry 3 --retry-delay 3 https://syncandshare.desy.de/index.php/s/${{ secrets.VBFcpp17 }}/download -o 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 -L --retry 3 --retry-delay 3 https://syncandshare.desy.de/index.php/s/${{ secrets.SOFA20231011 }}/download -o 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 |