Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use c++20 on key4hep nightlies in CI #187

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/key4hep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ jobs:
strategy:
fail-fast: false
matrix:
release: ["sw.hsf.org/key4hep",
"sw-nightlies.hsf.org/key4hep"]
include:
- release: "sw.hsf.org/key4hep"
CXX_STANDARD: 17
- release: "sw-nightlies.hsf.org/key4hep"
CXX_STANDARD: 20
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
Expand All @@ -20,7 +23,7 @@ jobs:
run: |
mkdir build install
cd build
cmake -DCMAKE_CXX_STANDARD=17 \
cmake -DCMAKE_CXX_STANDARD=${{ matrix.CXX_STANDARD }} \
-DBUILD_ROOTDICT=ON \
-DCMAKE_CXX_FLAGS="-fdiagnostics-color=always -Werror " \
-DCMAKE_INSTALL_PREFIX=../install \
Expand All @@ -33,5 +36,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=17
cmake .. -DCMAKE_CXX_STANDARD=${{ matrix.CXX_STANDARD }}
make -k