Skip to content

Commit

Permalink
Build all key4hep based workflows with c++20
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Apr 12, 2024
1 parent c4b8d80 commit 13e61b2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/key4hep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand All @@ -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

0 comments on commit 13e61b2

Please sign in to comment.