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
@@ -42,7 +46,10 @@ on_failure_meson: &on_failure_meson
42
46
paths :
43
47
- " build*/testrun/**/*.log"
44
48
- " build*/testrun/**/*.diffs"
49
+ - " build*/testrun/**/*.diff"
45
50
- " build*/testrun/**/regress_log_*"
51
+ - " **/**/elsecomment.0.stdout"
52
+ - " **/**/elsecomment.out"
46
53
type : text/plain
47
54
48
55
# In theory it'd be nice to upload the junit files meson generates, so that
95
102
chown root:postgres /
96
103
chmod g+rwx /
97
104
105
+ install_meson_and_rebase_script : |
106
+ bash src/tools/ci/install_meson_and_rebase.sh
107
+
98
108
configure_script : |
99
109
su postgres <<-EOF
100
110
meson setup \
@@ -174,6 +184,9 @@ task:
174
184
setup_additional_packages_script : |
175
185
#pkg install -y ...
176
186
187
+ install_meson_and_rebase_script : |
188
+ bash src/tools/ci/install_meson_and_rebase.sh
189
+
177
190
# NB: Intentionally build without -Dllvm. The freebsd image size is already
178
191
# large enough to make VM startup slow, and even without llvm freebsd
179
192
# already takes longer than other platforms except for windows.
@@ -360,6 +373,9 @@ task:
360
373
CCACHE_MAXSIZE : " 400M" # tests two different builds
361
374
SANITIZER_FLAGS : -fsanitize=alignment,undefined
362
375
376
+ install_meson_and_rebase_script : |
377
+ bash src/tools/ci/install_meson_and_rebase.sh
378
+
363
379
configure_script : |
364
380
su postgres <<-EOF
365
381
meson setup \
@@ -485,6 +501,9 @@ task:
485
501
brew cleanup -s # to reduce cache size
486
502
upload_caches : homebrew
487
503
504
+ install_meson_and_rebase_script : |
505
+ bash src/tools/ci/install_meson_and_rebase.sh
506
+
488
507
ccache_cache :
489
508
folder : $CCACHE_DIR
490
509
configure_script : |
@@ -578,6 +597,9 @@ task:
578
597
echo 127.0.0.3 pg-loadbalancetest >> c:\Windows\System32\Drivers\etc\hosts
579
598
type c:\Windows\System32\Drivers\etc\hosts
580
599
600
+ install_meson_and_rebase_script : |
601
+ bash src/tools/ci/install_meson_and_rebase.sh
602
+
581
603
# Use /DEBUG:FASTLINK to avoid high memory usage during linking
582
604
configure_script : |
583
605
vcvarsall x64
@@ -643,6 +665,9 @@ task:
643
665
%BASH% -c "where perl"
644
666
%BASH% -c "perl --version"
645
667
668
+ install_meson_and_rebase_script : |
669
+ %BASH% src/tools/ci/install_meson_and_rebase.sh
670
+
646
671
# disable -Dnls as the number of files it creates cause a noticable slowdown
647
672
configure_script : |
648
673
%BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=true -Db_pch=true -Dnls=disabled -DTAR=%TAR% build"
0 commit comments