[CI] Add pipeline jobs to always compile CTA with pgsched enabled
Description
This MR adds new pipeline jobs in the build stage to ensure Postgres can compile correctly. These jobs are not used further down the pipeline, they are simply there to ensure whatever changes we do doesn't cause compilation issues on the Postgres side.
Note that, at the moment, this job will run even if SCHEDULER_TYPE is manually set to pgsched (there is no way around this without more refactoring).
Checklist
-
Documentation reflects the changes made. -
Merge Request title is clear, concise, and suitable as a changelog entry. See our contributing docs
References
Closes #1358 (closed)
Edited by Niels Alexander Buegel