Skip to content

Commit

Permalink
CI: Make sure to build EDM4hep with c++20 (#658)
Browse files Browse the repository at this point in the history
* Make sure to build EDM4hep with c++20

* Switch LCG views to be able to build with c++20

* Don't use a non-existant LCG release
  • Loading branch information
tmadlener authored Aug 28, 2024
1 parent 6387344 commit 7495b33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/edm4hep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
LCG: ["LCG_104/x86_64-el9-gcc13-opt",
"dev4/x86_64-ubuntu2004-gcc9-opt",
"dev4/x86_64-el9-gcc14-opt",
"LCG_104/x86_64-el9-clang16-opt"]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
cmake -DENABLE_SIO=ON \
-DENABLE_JULIA=ON \
-DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_STANDARD=20 \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror -Wno-error=deprecated-declarations " \
-DUSE_EXTERNAL_CATCH2=ON \
-DBUILD_TESTING=OFF\
Expand All @@ -64,7 +64,7 @@ jobs:
echo "::group::Build and test EDM4hep"
cd $STARTDIR/edm4hep
mkdir build && cd build
cmake -DCMAKE_CXX_STANDARD=17 \
cmake -DCMAKE_CXX_STANDARD=20 \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always " \
-DUSE_EXTERNAL_CATCH2=ON \
-G Ninja ..
Expand Down

0 comments on commit 7495b33

Please sign in to comment.