This uses a new shared setting to toggle shared lib builds of both AXL and its dependencies. If the shared library is not built for AXL, then its ECP dependencies should not built their shared libs either.
The combo of -DBUILD_SHARED_LIBS=OFF and -DAXL_LINK_STATIC=OFF is not expected to work. We can't link executables to the shared library when it is not built. We exclude that combo from the matrix:
This uses a new
shared
setting to toggle shared lib builds of both AXL and its dependencies. If the shared library is not built for AXL, then its ECP dependencies should not built their shared libs either.Depends on: https://github.com/ECP-VeloC/github-actions/pull/1
The combo of
-DBUILD_SHARED_LIBS=OFF
and-DAXL_LINK_STATIC=OFF
is not expected to work. We can't link executables to the shared library when it is not built. We exclude that combo from the matrix:https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#excluding-matrix-configurations