Skip to content

AST-1579 Clean up CI jobs

Maik Nijhuis requested to merge ast-1579-clean-up-ci-jobs into master

Simplify the various build and test jobs on CI, since there are currently too many of them:

  • Do not run tests with PORTABLE or TARGET_CPU builds. Instead, include those flags in build jobs.
  • Use one test job, which runs all tests in Debug mode.
  • Use one test job, which runs all tests in Release mode and collects coverage. Remove the separate integration test job.
  • Remove the build-2204 and build-debug-2204 jobs, since the test jobs already build DP3 with Ubuntu 22.04 in both Debug and Release mode.
  • Use a common template job for the two sanitizer jobs.
  • Since unit test jobs always rebuild DP3 anyway, do not transfer the build directory from build jobs to test jobs anymore.

In total, this MR reduces the number of build jobs from 6 to 4 and the number of test jobs from 5 to 2. The run time of the CI pipeline goes from 22 minutes to 16 minutes.

Edited by Maik Nijhuis

Merge request reports