ci: implement separate build script and fix YAML file extension for GitLab CI
A bit of shell scripting around to make
this work to be honest, alongside some job rules configuration work.
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>