gitlab-ci: Refactor build configuration.
gitlab-ci: Refactor build configuration.

StanfordLegion/legion,StanfordLegion/legion,chuckatkins/legion,sdalton1/legion,sdalton1/legion,chuckatkins/legion,StanfordLegion/legion,chuckatkins/legion,StanfordLegion/legion,sdalton1/legion,StanfordLegion/legion,chuckatkins/legion,chuckatkins/legion,sdalton1/legion,StanfordLegion/legion,sdalton1/legion,StanfordLegion/legion,chuckatkins/legion,chuckatkins/legion,StanfordLegion/legion,sdalton1/legion