Reorganize gitlab-ci file to reduce duplication.
Reorganize gitlab-ci file to reduce duplication.

cmusatyalab/opendiamond,cmusatyalab/opendiamond,cmusatyalab/opendiamond,cmusatyalab/opendiamond,cmusatyalab/opendiamond