ci: Factor out scripts to add ninja to job environment
3 files changed