|
27 | 27 | TEMP_CONFIG: ${CIRRUS_WORKING_DIR}/src/tools/ci/pg_ci_base.conf |
28 | 28 | PG_TEST_EXTRA: kerberos ldap ssl load_balance |
29 | 29 |
|
| 30 | + # default variables to use in local meson installations |
| 31 | + MESON_REPO: https://github.com/mesonbuild/meson.git |
| 32 | + MESON_BRANCH: master |
| 33 | + |
30 | 34 |
|
31 | 35 | # What files to preserve in case tests fail |
32 | 36 | on_failure_ac: &on_failure_ac |
|
95 | 99 | chown root:postgres / |
96 | 100 | chmod g+rwx / |
97 | 101 |
|
| 102 | + install_meson_and_rebase_script: | |
| 103 | + bash src/tools/ci/install_meson_and_rebase.sh |
| 104 | +
|
98 | 105 | configure_script: | |
99 | 106 | su postgres <<-EOF |
100 | 107 | meson setup \ |
@@ -174,6 +181,9 @@ task: |
174 | 181 | setup_additional_packages_script: | |
175 | 182 | #pkg install -y ... |
176 | 183 |
|
| 184 | + install_meson_and_rebase_script: | |
| 185 | + bash src/tools/ci/install_meson_and_rebase.sh |
| 186 | +
|
177 | 187 | # NB: Intentionally build without -Dllvm. The freebsd image size is already |
178 | 188 | # large enough to make VM startup slow, and even without llvm freebsd |
179 | 189 | # already takes longer than other platforms except for windows. |
@@ -360,6 +370,9 @@ task: |
360 | 370 | CCACHE_MAXSIZE: "400M" # tests two different builds |
361 | 371 | SANITIZER_FLAGS: -fsanitize=alignment,undefined |
362 | 372 |
|
| 373 | + install_meson_and_rebase_script: | |
| 374 | + bash src/tools/ci/install_meson_and_rebase.sh |
| 375 | +
|
363 | 376 | configure_script: | |
364 | 377 | su postgres <<-EOF |
365 | 378 | meson setup \ |
@@ -485,6 +498,9 @@ task: |
485 | 498 | brew cleanup -s # to reduce cache size |
486 | 499 | upload_caches: homebrew |
487 | 500 |
|
| 501 | + install_meson_and_rebase_script: | |
| 502 | + bash src/tools/ci/install_meson_and_rebase.sh |
| 503 | +
|
488 | 504 | ccache_cache: |
489 | 505 | folder: $CCACHE_DIR |
490 | 506 | configure_script: | |
@@ -578,6 +594,9 @@ task: |
578 | 594 | echo 127.0.0.3 pg-loadbalancetest >> c:\Windows\System32\Drivers\etc\hosts |
579 | 595 | type c:\Windows\System32\Drivers\etc\hosts |
580 | 596 |
|
| 597 | + install_meson_and_rebase_script: | |
| 598 | + bash src/tools/ci/install_meson_and_rebase.sh |
| 599 | +
|
581 | 600 | # Use /DEBUG:FASTLINK to avoid high memory usage during linking |
582 | 601 | configure_script: | |
583 | 602 | vcvarsall x64 |
@@ -643,6 +662,9 @@ task: |
643 | 662 | %BASH% -c "where perl" |
644 | 663 | %BASH% -c "perl --version" |
645 | 664 |
|
| 665 | + install_meson_and_rebase_script: | |
| 666 | + %BASH% src/tools/ci/install_meson_and_rebase.sh |
| 667 | +
|
646 | 668 | # disable -Dnls as the number of files it creates cause a noticable slowdown |
647 | 669 | configure_script: | |
648 | 670 | %BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=true -Db_pch=true -Dnls=disabled -DTAR=%TAR% build" |
|
0 commit comments