Update CI to latest clicdp nightlies and key4hep workflow, better Catch2 discovery #80
Workflow file for this run
This file contains 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: linux | |
on: [push, pull_request] | |
jobs: | |
centos7: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
COMPILER: [gcc11] | |
LCG: [104] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cvmfs-contrib/github-action-cvmfs@v4 | |
- uses: aidasoft/run-lcg-view@v4 | |
with: | |
view-path: "/cvmfs/clicdp.cern.ch/iLCSoft/lcg/${{ matrix.LCG }}/nightly/x86_64-centos7-${{ matrix.COMPILER }}-opt" | |
setup-script: "init_ilcsoft.sh" | |
run: | | |
mkdir build | |
cd build | |
cmake -GNinja -C ${ILCSOFT}/ILCSoft.cmake -DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always " .. | |
ninja -k0 | |
ctest --output-on-failure | |
ninja install |