Skip to content
Merged
Show file tree
Hide file tree
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
16 changes: 8 additions & 8 deletions .github/workflows/extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
- almalinux-9.7
- almalinux-10.1
preset:
- linux.gcc.all.relwithdebinfo
- linux.clang.all.relwithdebinfo
- linux.gcc.all.release
- linux.clang.all.release
jobs: [ 4 ]
exclude:
- os: almalinux-9.7
preset: linux.clang.all.relwithdebinfo
preset: linux.clang.all.release
# This combination is not supported, as Clang fails to compile Chrono.hpp which does #include <boost/date_time/local_time/conversion.hpp
# and ends up with the following error:
# /usr/include/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: non-type template argument is not a constant expression
Expand Down Expand Up @@ -76,25 +76,25 @@ jobs:
cmake --build --preset ${{ matrix.preset }} --jobs ${{ matrix.jobs }}

- name: Test ecflow (default)
if: ${{ matrix.os != 'alpine-3.23' }}
if: ${{ matrix.os != 'alpine-3.23' && matrix.os != 'arch-20260104'}}
run: |
cd ${RUNNER_WORKSPACE}/ecflow/ecflow
ctest --preset ${{ matrix.preset }} --output-on-failure -L nightly -j ${{ matrix.jobs }}

- name: Test ecflow (specific to Alpine, due to Boost.Test crash)
if: ${{ matrix.os == 'alpine-3.23' }}
- name: Test ecflow (specific to some distros, due to Boost.Test crash)
if: ${{ matrix.os == 'alpine-3.23' || matrix.os == 'arch-20260104'}}
run: |
cd ${RUNNER_WORKSPACE}/ecflow/ecflow
ctest --preset ${{ matrix.preset }} --output-on-failure -L nightly -E s_foolproof -j ${{ matrix.jobs }}

- name: Lint ecflow
if: ${{ matrix.preset == 'linux.clang.all.relwithdebinfo' && matrix.os == 'ubuntu-24.04' && !always() }} # Disable until we have a stable build
if: ${{ matrix.preset == 'linux.clang.all.release' && matrix.os == 'ubuntu-24.04' && !always() }} # Disable until we have a stable build
run: |
cd ${RUNNER_WORKSPACE}/ecflow/ecflow
run-clang-tidy -j ${{ matrix.jobs }} -p ${RUNNER_WORKSPACE}/ecflow/ecflow/.deploy/build/${{ matrix.preset }} | tee clang-tidy-report.txt

- name: Archive lint report
if: ${{ matrix.preset == 'linux.clang.all.relwithdebinfo' && matrix.os == 'ubuntu-24.04' && !always() }} # Disable until we have a stable build
if: ${{ matrix.preset == 'linux.clang.all.release' && matrix.os == 'ubuntu-24.04' && !always() }} # Disable until we have a stable build
uses: actions/upload-artifact@v4
with:
name: cling-tidy-report
Expand Down
98 changes: 98 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,40 @@
},
"environment" : {}
},
{
"name" : "linux.gcc.all.release",
"description" : "Build environment on 'Linux', compiled with 'GNU GCC'",
"generator" : "Ninja",
"binaryDir" : "${sourceDir}/.deploy/build/${presetName}",
"installDir" : "${sourceDir}/.deploy/install/${presetName}",
"condition" : {
"type": "equals",
"lhs" : "${hostSystemName}",
"rhs" : "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE" : "Release",
"CMAKE_VERBOSE_MAKEFILE" : "ON",
"CMAKE_COLOR_DIAGNOSTICS" : "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_C_COMPILER" : "gcc",
"CMAKE_CXX_COMPILER" : "g++",
"CPACK_PACKAGE_NAME" : "ecflow",
"ENABLE_TESTS" : "ON",
"ENABLE_ALL_TESTS" : "ON",
"ENABLE_DOCS" : "OFF",
"ENABLE_PYTHON" : "ON",
"ENABLE_SERVER" : "ON",
"ENABLE_SSL" : "ON",
"ENABLE_UDP" : "ON",
"ENABLE_HTTP" : "ON",
"ENABLE_UI" : "ON",
"ENABLE_STATIC_BOOST_LIBS" : "OFF",
"ENABLE_DEBIAN_PACKAGE" : "ON",
"Boost_INCLUDE_DIR" : "/usr/include"
},
"environment" : {}
},
{
"name" : "linux.clang.all.relwithdebinfo",
"description" : "Build environment on 'Linux', compiled with 'LLVM Clang'",
Expand Down Expand Up @@ -74,6 +108,40 @@
},
"environment" : {}
},
{
"name" : "linux.clang.all.release",
"description" : "Build environment on 'Linux', compiled with 'LLVM Clang'",
"generator" : "Ninja",
"binaryDir" : "${sourceDir}/.deploy/build/${presetName}",
"installDir" : "${sourceDir}/.deploy/install/${presetName}",
"condition" : {
"type": "equals",
"lhs" : "${hostSystemName}",
"rhs" : "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE" : "Release",
"CMAKE_VERBOSE_MAKEFILE" : "ON",
"CMAKE_COLOR_DIAGNOSTICS" : "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_C_COMPILER" : "clang",
"CMAKE_CXX_COMPILER" : "clang++",
"CPACK_PACKAGE_NAME" : "ecflow",
"ENABLE_TESTS" : "ON",
"ENABLE_ALL_TESTS" : "ON",
"ENABLE_DOCS" : "OFF",
"ENABLE_PYTHON" : "ON",
"ENABLE_SERVER" : "ON",
"ENABLE_SSL" : "ON",
"ENABLE_UDP" : "ON",
"ENABLE_HTTP" : "ON",
"ENABLE_UI" : "ON",
"ENABLE_STATIC_BOOST_LIBS" : "OFF",
"ENABLE_DEBIAN_PACKAGE" : "ON",
"Boost_INCLUDE_DIR" : "/usr/include"
},
"environment" : {}
},
{
"name": "linux.gcc.serveronly.relwithdebinfo",
"description": "Build environment on 'Linux', compiled with 'GNU GCC'",
Expand Down Expand Up @@ -114,10 +182,18 @@
"name" : "linux.gcc.all.relwithdebinfo",
"configurePreset": "linux.gcc.all.relwithdebinfo"
},
{
"name" : "linux.gcc.all.release",
"configurePreset": "linux.gcc.all.release"
},
{
"name" : "linux.clang.all.relwithdebinfo",
"configurePreset": "linux.clang.all.relwithdebinfo"
},
{
"name" : "linux.clang.all.release",
"configurePreset": "linux.clang.all.release"
},
{
"name": "linux.gcc.serveronly.relwithdebinfo",
"configurePreset": "linux.gcc.serveronly.relwithdebinfo"
Expand All @@ -135,6 +211,17 @@
"stopOnFailure": true
}
},
{
"name" : "linux.gcc.all.release",
"configurePreset": "linux.gcc.all.release",
"output" : {
"outputOnFailure": true
},
"execution" : {
"noTestsAction": "error",
"stopOnFailure": true
}
},
{
"name" : "linux.clang.all.relwithdebinfo",
"configurePreset": "linux.clang.all.relwithdebinfo",
Expand All @@ -146,6 +233,17 @@
"stopOnFailure": true
}
},
{
"name" : "linux.clang.all.release",
"configurePreset": "linux.clang.all.release",
"output" : {
"outputOnFailure": true
},
"execution" : {
"noTestsAction": "error",
"stopOnFailure": true
}
},
{
"name": "linux.gcc.serveronly.relwithdebinfo",
"configurePreset": "linux.gcc.serveronly.relwithdebinfo",
Expand Down
Loading