|
2 | 2 | #
|
3 | 3 | # For instructions on how to enable the CI integration in a repository and
|
4 | 4 | # further details, see src/tools/ci/README
|
| 5 | +# |
| 6 | +# |
| 7 | +# NB: Different tasks intentionally test with different, non-default, |
| 8 | +# configurations, to increase the chance of catching problems. Each task with |
| 9 | +# non-obvious non-default documents their oddity at the top of the task, |
| 10 | +# prefixed by "SPECIAL:". |
5 | 11 |
|
6 | 12 |
|
7 | 13 | env:
|
@@ -55,6 +61,10 @@ on_failure_meson: &on_failure_meson
|
55 | 61 |
|
56 | 62 | # To avoid unnecessarily spinning up a lot of VMs / containers for entirely
|
57 | 63 | # broken commits, have a minimal task that all others depend on.
|
| 64 | +# |
| 65 | +# SPECIAL: |
| 66 | +# - Builds with --auto-features=disabled and thus almost no enabled |
| 67 | +# dependencies |
58 | 68 | task:
|
59 | 69 | name: SanityCheck
|
60 | 70 |
|
@@ -125,6 +135,11 @@ task:
|
125 | 135 | src/tools/ci/cores_backtrace.sh linux /tmp/cores
|
126 | 136 |
|
127 | 137 |
|
| 138 | +# SPECIAL: |
| 139 | +# - Uses postgres specific CPPFLAGS that increase test coverage |
| 140 | +# - Specifies configuration options that test reading/writing/copying of node trees |
| 141 | +# - Specifies debug_parallel_query=regress, to catch related issues during CI |
| 142 | +# - Also runs tests against a running postgres instance, see test_running_script |
128 | 143 | task:
|
129 | 144 | name: FreeBSD - Meson
|
130 | 145 |
|
@@ -355,6 +370,7 @@ LINUX_MESON_FEATURES: &LINUX_MESON_FEATURES >-
|
355 | 370 | -Duuid=e2fs
|
356 | 371 |
|
357 | 372 |
|
| 373 | +# Check SPECIAL in the matrix: below |
358 | 374 | task:
|
359 | 375 | env:
|
360 | 376 | CPUS: 4
|
@@ -435,6 +451,10 @@ task:
|
435 | 451 | libcurl4-openssl-dev:i386 \
|
436 | 452 |
|
437 | 453 | matrix:
|
| 454 | + # SPECIAL: |
| 455 | + # - Uses address sanitizer, sanitizer failures are typically printed in |
| 456 | + # the server log |
| 457 | + # - Configures postgres with a small segment size |
438 | 458 | - name: Linux - Debian Bookworm - Autoconf
|
439 | 459 |
|
440 | 460 | env:
|
@@ -470,6 +490,10 @@ task:
|
470 | 490 | on_failure:
|
471 | 491 | <<: *on_failure_ac
|
472 | 492 |
|
| 493 | + # SPECIAL: |
| 494 | + # - Uses undefined behaviour and alignment sanitizers, sanitizer failures |
| 495 | + # are typically printed in the server log |
| 496 | + # - Test both 64bit and 32 bit builds |
473 | 497 | - name: Linux - Debian Bookworm - Meson
|
474 | 498 |
|
475 | 499 | env:
|
@@ -530,6 +554,11 @@ task:
|
530 | 554 | cores_script: src/tools/ci/cores_backtrace.sh linux /tmp/cores
|
531 | 555 |
|
532 | 556 |
|
| 557 | +# NB: macOS is by far the most expensive OS to run CI for, therefore no |
| 558 | +# expensive additional checks should be added. |
| 559 | +# |
| 560 | +# SPECIAL: |
| 561 | +# - Enables --clone for pg_upgrade and pg_combinebackup |
533 | 562 | task:
|
534 | 563 | name: macOS - Sonoma - Meson
|
535 | 564 |
|
|
0 commit comments