Bump cvmfs-contrib/github-action-cvmfs from 5.5 to 5.6 #3503
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: key4hep | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| image: ["el9"] | |
| cvmfs_repo: ["sw.hsf.org", "sw-nightlies.hsf.org"] | |
| include: | |
| - image: "ubuntu2404" | |
| cvmfs_repo: "sw-nightlies.hsf.org" | |
| - image: "ubuntu2204" # gcc-11 compatibility | |
| cvmfs_repo: "sw.hsf.org" | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: cvmfs-contrib/github-action-cvmfs@72f2a8d366043978d6aebee154bc9ed321c2f2a8 # v5.6 | |
| - uses: key4hep/key4hep-actions/cache-external-data@main | |
| - uses: aidasoft/run-lcg-view@d8db17c61216548c9192889942d46ff2d7c3a3b6 # v6 | |
| with: | |
| container: ${{ matrix.image }} | |
| view-path: /cvmfs/${{ matrix.cvmfs_repo }}/key4hep | |
| ccache-key: ccache-key4hep-${{ matrix.image }}-${{ matrix.cvmfs_repo }} | |
| run: | | |
| echo "::group::Run k4_local_repo" | |
| k4_local_repo | |
| echo "::group::Run CMake" | |
| cmake --preset ci-build \ | |
| -DCMAKE_INSTALL_PREFIX=$(pwd)/install \ | |
| -DUSE_EXTERNAL_CATCH2=AUTO \ | |
| -DPODIO_RUN_STRACE_TEST=ON | |
| echo "::endgroup::" | |
| echo "::group::Build" | |
| cmake --build --preset ci-build | |
| echo "::endgroup" | |
| echo "::group::Run tests" | |
| ctest --preset ci-build --parallel | |
| echo "::endgroup::" | |
| echo "::group::Install" | |
| cmake --build --preset ci-build --target install | |
| echo "::endgroup::" |