ci: Factor out scripts to add cmake to job environment
5 files changed