Skip to content

Commit

Permalink
CI: Update LCG stacks and OSs for linux workflows (AIDASoft#597)
Browse files Browse the repository at this point in the history
* CI: Update LCG stacks and OSs for linux workflows

* Simplify setup for linux based tests
  • Loading branch information
tmadlener authored May 7, 2024
1 parent ca0c5ea commit 04d32d6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 24 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,10 @@ jobs:
fail-fast: false
matrix:
LCG: ["dev3/x86_64-el9-clang16-opt",
"dev4/x86_64-el9-clang16-opt"]
CXX_STANDARD: [20]
RNTUPLE: [ON]
include:
- LCG: "dev4/x86_64-el9-gcc13-opt"
CXX_STANDARD: 20
- LCG: "LCG_102/x86_64-centos7-clang12-opt"
RNTUPLE: OFF
CXX_STANDARD: 17
- LCG: "LCG_102/x86_64-centos8-gcc11-opt"
RNTUPLE: OFF
CXX_STANDARD: 17
"dev4/x86_64-el9-clang16-opt",
"dev4/x86_64-el9-gcc13-opt",
"LCG_105/x86_64-el9-clang16-opt",
"LCG_105/x86_64-el9-gcc13-opt"]
steps:
- uses: actions/checkout@v4
- uses: cvmfs-contrib/github-action-cvmfs@v4
Expand All @@ -38,9 +30,9 @@ jobs:
cd build
cmake -DENABLE_SIO=ON \
-DENABLE_JULIA=ON \
-DENABLE_RNTUPLE=${{ matrix.RNTUPLE }} \
-DENABLE_RNTUPLE=ON \
-DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_CXX_STANDARD=${{ matrix.CXX_STANDARD }} \
-DCMAKE_CXX_STANDARD=20 \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror -Wno-error=deprecated-declarations " \
-DUSE_EXTERNAL_CATCH2=OFF \
-DPODIO_USE_CLANG_FORMAT=AUTO \
Expand All @@ -57,4 +49,4 @@ jobs:
echo "::endgroup::"
echo "::group::Install"
ninja install
echo "::endgroup::"
echo "::endgroup::"
17 changes: 8 additions & 9 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ jobs:
strategy:
fail-fast: false
matrix:
sio: [ON]
LCG: ["dev3/x86_64-ubuntu2004-gcc9-opt",
"dev4/x86_64-ubuntu2004-gcc9-opt"]
LCG: ["dev3/x86_64-ubuntu2204-gcc11-opt",
"dev4/x86_64-ubuntu2204-gcc11-opt"]
steps:
- uses: actions/checkout@v4
- uses: cvmfs-contrib/github-action-cvmfs@v4
Expand All @@ -26,15 +25,15 @@ jobs:
echo "::group::Run CMake"
mkdir build install
cd build
cmake -DENABLE_SIO=${{ matrix.sio }} \
cmake -DENABLE_SIO=ON \
-DENABLE_JULIA=ON \
-DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror -Wno-error=deprecated-declarations " \
-DUSE_EXTERNAL_CATCH2=OFF \
-DPODIO_SET_RPATH=ON \
-DENABLE_RNTUPLE=ON \
-G Ninja ..
-DUSE_EXTERNAL_CATCH2=OFF \
-DPODIO_SET_RPATH=ON \
-DENABLE_RNTUPLE=ON \
-G Ninja ..
echo "::endgroup::"
echo "::group::Build"
ninja -k0
Expand All @@ -47,4 +46,4 @@ jobs:
echo "::endgroup::"
echo "::group::Install"
ninja install
echo "::endgroup::"
echo "::endgroup::"

0 comments on commit 04d32d6

Please sign in to comment.