ci: Introduce SanityCheck task that other tasks depend on
authorAndres Freund <andres@anarazel.de>
Mon, 21 Nov 2022 23:13:09 +0000 (15:13 -0800)
committerAndres Freund <andres@anarazel.de>
Mon, 21 Nov 2022 23:13:09 +0000 (15:13 -0800)
commit94a3e026cc4da4c5a3f82d02ae2c62c9f060788a
tree3b1095e79f19e13d8d710a6630e3d3dfbe96dbf6
parentec267fd5a5e85223979a90c814e1a98053ca7f3b
ci: Introduce SanityCheck task that other tasks depend on

To avoid unnecessarily spinning up a lot of VMs / containers for entirely
broken commits, have a minimal task that all others depend on.

The concrete motivation for the change is to use sanitizers in the linux
tasks. As that makes the tests slower, the start of the CompilerWarnings would
be delayed even more. With this change the CompilerWarnings only depends on
the SanityCheck task.

This has the added advantage that now the CompilerWarnings task is not
prevented from running by (most) test failures (particularly annoying when
caused by a test that is flappy in HEAD).

Reviewed-by: Justin Pryzby <pryzby@telsasoft.com>
Discussion: https://postgr.es/m/20221002205201.injtofbx4ax4erww@awork3.anarazel.de
.cirrus.yml