Skip to content

Work in Progress

Work in Progress #1055

Workflow file for this run

name: key4hep
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
release: ["sw.hsf.org/key4hep",
"sw-nightlies.hsf.org/key4hep"]
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: aidasoft/run-lcg-view@v4
with:
container: centos7
view-path: /cvmfs/${{ matrix.release }}
run: |
echo "::group::Run CMake"
mkdir build install
cd build
cmake -DENABLE_SIO=ON \
-DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror -Wno-error=deprecated-declarations " \
-DUSE_EXTERNAL_CATCH2=ON \
-DENABLE_RNTUPLE=ON \
-G Ninja ..
echo "::endgroup::"
echo "::group::Build"
ninja -k0
echo "::endgroup"
echo "::group::Run tests"
ctest --output-on-failure
echo "::endgroup::"
echo "::group::Install"
ninja install
echo "::endgroup::"