Fix Gitlab CI script for arch agnostic templates
This MR
- ensures that architecture-agnostic templates get a suitable CI script
- makes the CI script optional
- overhauls the CI script for cleanliness and readability
fixes clickable#314 (closed)
This MR
fixes clickable#314 (closed)