Skip to content

Commit

Permalink
CI: use clang16 nightly builds (#469)
Browse files Browse the repository at this point in the history
* CI: use clang16 nightly builds

* CI: linux: add CXX_STANDARD variable and set for builds

* Tests: require newer catch2 version when using c++20, get latest catch2 v3 version for internal

* CI: key4hep use AUTO for catch2

* CI: disable key4hep release based build
  • Loading branch information
andresailer authored and tmadlener committed Aug 30, 2023
1 parent 77ab57c commit a48a838
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/key4hep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
strategy:
fail-fast: false
matrix:
release: ["sw.hsf.org/key4hep",
"sw-nightlies.hsf.org/key4hep"]
include:
- release: "sw-nightlies.hsf.org/key4hep"
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
Expand All @@ -30,7 +30,8 @@ jobs:
-DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror -Wno-error=deprecated-declarations " \
-DUSE_EXTERNAL_CATCH2=ON \
-DUSE_EXTERNAL_CATCH2=AUTO \
-DUSE_EXTERNAL_CATCH2=AUTO \
-G Ninja ..
echo "::endgroup::"
echo "::group::Build"
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ jobs:
strategy:
fail-fast: false
matrix:
sio: [ON]
LCG: ["LCG_102/x86_64-centos7-clang12-opt",
"LCG_102/x86_64-centos8-gcc11-opt",
"dev3/x86_64-centos7-clang12-opt",
"dev4/x86_64-centos7-gcc11-opt",
"dev4/x86_64-centos7-clang12-opt"]
LCG: ["dev3/x86_64-el9-clang16-opt",
"dev4/x86_64-el9-clang16-opt"]
CXX_STANDARD: [20]
include:
- LCG: "dev4/x86_64-centos7-gcc11-opt"
CXX_STANDARD: 17
- LCG: "LCG_102/x86_64-centos7-clang12-opt"
CXX_STANDARD: 17
- LCG: "LCG_102/x86_64-centos8-gcc11-opt"
CXX_STANDARD: 17
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
Expand All @@ -29,9 +33,9 @@ jobs:
echo "::group::Run CMake"
mkdir build install
cd build
cmake -DENABLE_SIO=${{ matrix.sio }} \
cmake -DENABLE_SIO=ON \
-DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_STANDARD=${{ matrix.CXX_STANDARD }} \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror -Wno-error=deprecated-declarations " \
-DUSE_EXTERNAL_CATCH2=OFF \
-G Ninja ..
Expand Down

0 comments on commit a48a838

Please sign in to comment.