Build Structure

I’m investigating using Gitlab’s CI/CD process and have a question if the following setup is possible. I would need to the runner to clone multiple repos into a single folder with a specified name and then build/test the projects.

For example, Project A is the primary project and depends on Project B and Project C. They all get checked out to a directory, tested individually, and then the primary project is built and packaged.

  • Build Folder
    • Project A
    • Project B
    • Project C

The only way I can think of doing this with Gitlab is to have another repo outside of the projects that handles the structure. Is it possible to do this with Project A having the config file in its repo?