Skip to content

Draft: ci: Move build jobs to separate file + Refactor CI scripts to use common referenced rules

Eduardo Almeida requested to merge edalm/ns-3-dev:new-ci-refactor into master

This MR refactors the CI/CD scripts with two objectives in mind:

  • Move build jobs to separate files. This provides more organization in the CI files and allows to more easily enable / disable sets of jobs or stages by commenting the corresponding include.
  • Create a new file gitlab-ci-rules.yml with common rules that can be reused in multiple jobs. This enables a more organized method to manage the execution of jobs.

It also contains two small fixes:

  • Explicitly set the stage of the CPPYY job as test.
  • Rename the per-commit-* jobs as simply build-*

Merge request reports