Would it not better to share the gitlab/workflow files and the CMakePrests files for the projects via the infra repo too?
I found at least one reason why it is not possible: Update and merge with exemplar workflow by ClausKlein · Pull Request #10 · bemanproject/cstring_view · GitHub
What are the common CI tests required for a beman project and what is the minimum CMAKE_CXX_STANDARD that must be supported?
I think exemplar currently is set to 17, but I’ve been advocating that we change that to 20. It’s going to be different for every library though depending on what they need and our best practice is that we shouldn’t set (or check in my mind) in cmake. As an example:
Stops a user from compiling below 20 – there’s no checking in the scope cmake files.
so the original CI workflow file and the CMake workflow presets must be local and modified for each project?
Potentially, yes. Let’s say I’ve got a library based on bleeding edge reflection compiler branch. I basically can’t support a platform that doesn’t have the requesite compiler available. So any presets for what otherwise might be a standard platform don’t apply. I hate to say it, but MacOs for example, is going to wind up excluded frequently because of slow support for recent standards.
Yes, AppleClang compiler is far away from to be up to date.
But they’re clang+±-21 and g+±15 available via brew, they work fine today.
Here are the beman cmake presets and the provided toolchains the bottleneck!
toolchains the bottleneck
That’s fair – I can ask about this next week at the sync meeting.