Add any core dumps generated during tests to the artifacts
Recently the CXX::cxx_attr_conf test has been failing sporadically, for example, https://gitlab.com/tango-controls/cppTango/-/jobs/4412173869.
It looks like this test is failing because the TestCppTango1022 device server is segfaulting (exit code 139) at some point during the test. If we had access to the core dump it would be useful for debugging this and other potential issues in the future.
Our CI framework should detect if any core dump is produced and add these to the artifacts along with corresponding executable files so they can be inspected in gdb.
Edited by Thomas Ives