diff --git a/.github/workflows/key4hep.yml b/.github/workflows/key4hep.yml index e8f0f3ff0..a20cc0962 100644 --- a/.github/workflows/key4hep.yml +++ b/.github/workflows/key4hep.yml @@ -8,11 +8,8 @@ jobs: strategy: fail-fast: false matrix: - include: - - release: "sw.hsf.org/key4hep" - CXX_STANDARD: 17 - - release: "sw-nightlies.hsf.org/key4hep" - CXX_STANDARD: 20 + release: ["sw.hsf.org/key4hep", + "sw-nightlies.hsf.org/key4hep"] steps: - uses: actions/checkout@v3 - uses: cvmfs-contrib/github-action-cvmfs@v3 @@ -23,7 +20,7 @@ jobs: run: | mkdir build install cd build - cmake -DCMAKE_CXX_STANDARD=${{ matrix.CXX_STANDARD }} \ + cmake -DCMAKE_CXX_STANDARD=20 \ -DBUILD_ROOTDICT=ON \ -DCMAKE_CXX_FLAGS="-fdiagnostics-color=always -Werror " \ -DCMAKE_INSTALL_PREFIX=../install \ @@ -36,5 +33,5 @@ jobs: export CMAKE_PREFIX_PATH=$PWD/install:$CMAKE_PREFIX_PATH cd tests/downstream-project-cmake-test mkdir build && cd build - cmake .. -DCMAKE_CXX_STANDARD=${{ matrix.CXX_STANDARD }} + cmake .. -DCMAKE_CXX_STANDARD=20 make -k