1 # CI configuration file for CI utilizing cirrus-ci.org
3 # For instructions on how to enable the CI integration in a repository and
4 # further details, see src/tools/ci/README
8 # The lower depth accelerates git clone. Use a bit of depth so that
9 # concurrent tasks and retrying older jobs have a chance of working.
10 CIRRUS_CLONE_DEPTH: 500
11 # Useful to be able to analyse what in a script takes long
12 CIRRUS_LOG_TIMESTAMP: true
14 CCACHE_MAXSIZE: "250M"
16 # target to test, for all but windows
17 CHECK: check-world PROVE_FLAGS=$PROVE_FLAGS
20 MTEST_ARGS: --print-errorlogs --no-rebuild -C build
21 PGCTLTIMEOUT: 120 # avoids spurious failures during parallel tests
22 TEMP_CONFIG: ${CIRRUS_WORKING_DIR}/src/tools/ci/pg_ci_base.conf
23 PG_TEST_EXTRA: kerberos ldap ssl load_balance
26 # What files to preserve in case tests fail
27 on_failure_ac: &on_failure_ac
35 on_failure_meson: &on_failure_meson
38 - "build*/testrun/**/*.log"
39 - "build*/testrun/**/*.diffs"
40 - "build*/testrun/**/regress_log_*"
43 # In theory it'd be nice to upload the junit files meson generates, so that
44 # cirrus will nicely annotate the commit. Unfortunately the files don't
45 # contain identifiable file + line numbers right now, so the annotations
46 # don't end up useful. We could probably improve on that with a some custom
47 # conversion script, but ...
49 path: "build*/meson-logs/*.txt"
53 # To avoid unnecessarily spinning up a lot of VMs / containers for entirely
54 # broken commits, have a minimal task that all others depend on.
58 # If a specific OS is requested, don't run the sanity check. This shortens
59 # push-wait-for-ci cycle time a bit when debugging operating system specific
60 # failures. Uses skip instead of only_if, as cirrus otherwise warns about
61 # only_if conditions not matching.
62 skip: $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:.*'
68 IMAGE_FAMILY: pg-ci-bullseye
69 CCACHE_DIR: ${CIRRUS_WORKING_DIR}/ccache_dir
70 # no options enabled, should be small
71 CCACHE_MAXSIZE: "150M"
73 # While containers would start up a bit quicker, building is a bit
74 # slower. This way we don't have to maintain a container image.
75 <<: *linux_task_template
82 chown -R postgres:postgres .
83 mkdir -p ${CCACHE_DIR}
84 chown -R postgres:postgres ${CCACHE_DIR}
85 echo '* - memlock 134217728' > /etc/security/limits.d/postgres.conf
86 su postgres -c "ulimit -l -H && ulimit -l -S"
87 # Can't change container's kernel.core_pattern. Postgres user can't write
88 # to / normally. Change that.
96 --auto-features=disabled \
102 ninja -C build -j${BUILD_JOBS}
104 upload_caches: ccache
106 # Run a minimal set of tests. The main regression tests take too long for
107 # this purpose. For now this is a random quick pg_regress style test, and a
108 # tap test that exercises both a frontend binary and the backend.
109 test_minimal_script: |
112 meson test $MTEST_ARGS --suite setup
113 meson test $MTEST_ARGS --num-processes ${TEST_JOBS} \
114 cube/regress pg_ctl/001_start_stop
118 <<: *on_failure_meson
120 mkdir -m 770 /tmp/cores
121 find / -maxdepth 1 -type f -name 'core*' -exec mv '{}' /tmp/cores/ \;
122 src/tools/ci/cores_backtrace.sh linux /tmp/cores
126 name: FreeBSD - 13 - Meson
129 # FreeBSD on GCP is slow when running with larger number of CPUS /
130 # jobs. Using one more job than cpus seems to work best.
134 IMAGE_FAMILY: pg-ci-freebsd-13
137 CCACHE_DIR: /tmp/ccache_dir
138 CPPFLAGS: -DRELCACHE_FORCE_RELEASE -DCOPY_PARSE_PLAN_TREES -DWRITE_READ_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST -DENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS
141 PG_TEST_PG_UPGRADE_MODE: --link
143 <<: *freebsd_task_template
145 depends_on: SanityCheck
146 only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*freebsd.*'
151 ulimit -a -H && ulimit -a -S
156 # Work around performance issues due to 32KB block size
157 repartition_script: src/tools/ci/gcp_freebsd_repartition.sh
158 create_user_script: |
160 chown -R postgres:postgres .
161 mkdir -p ${CCACHE_DIR}
162 chown -R postgres:postgres ${CCACHE_DIR}
163 setup_core_files_script: |
164 mkdir -m 770 /tmp/cores
165 chown root:postgres /tmp/cores
166 sysctl kern.corefile='/tmp/cores/%N.%P.core'
167 setup_additional_packages_script: |
170 # NB: Intentionally build without -Dllvm. The freebsd image size is already
171 # large enough to make VM startup slow, and even without llvm freebsd
172 # already takes longer than other platforms except for windows.
177 -Dcassert=true -Dinjection_points=true \
178 -Duuid=bsd -Dtcl_version=tcl86 -Ddtrace=auto \
179 -DPG_TEST_EXTRA="$PG_TEST_EXTRA" \
180 -Dextra_lib_dirs=/usr/local/lib -Dextra_include_dirs=/usr/local/include/ \
183 build_script: su postgres -c 'ninja -C build -j${BUILD_JOBS}'
184 upload_caches: ccache
189 meson test $MTEST_ARGS --num-processes ${TEST_JOBS}
192 # test runningcheck, freebsd chosen because it's currently fast enough
193 test_running_script: |
197 meson test $MTEST_ARGS --quiet --suite setup
198 export LD_LIBRARY_PATH="$(pwd)/build/tmp_install/usr/local/pgsql/lib/:$LD_LIBRARY_PATH"
199 mkdir -p build/testrun
200 build/tmp_install/usr/local/pgsql/bin/initdb -N build/runningcheck --no-instructions -A trust
201 echo "include '$(pwd)/src/tools/ci/pg_ci_base.conf'" >> build/runningcheck/postgresql.conf
202 build/tmp_install/usr/local/pgsql/bin/pg_ctl -c -o '-c fsync=off' -D build/runningcheck -l build/testrun/runningcheck.log start
203 meson test $MTEST_ARGS --num-processes ${TEST_JOBS} --setup running
204 build/tmp_install/usr/local/pgsql/bin/pg_ctl -D build/runningcheck stop
208 # if the server continues running, it often causes cirrus-ci to fail
209 # during upload, as it doesn't expect artifacts to change size
210 stop_running_script: |
212 build/tmp_install/usr/local/pgsql/bin/pg_ctl -D build/runningcheck stop || true
214 <<: *on_failure_meson
215 cores_script: src/tools/ci/cores_backtrace.sh freebsd /tmp/cores
218 # configure feature flags, shared between the task running the linux tests and
219 # the CompilerWarnings task
220 LINUX_CONFIGURE_FEATURES: &LINUX_CONFIGURE_FEATURES >-
234 --with-tcl --with-tclconfig=/usr/lib/tcl8.6/
238 LINUX_MESON_FEATURES: &LINUX_MESON_FEATURES >-
247 TEST_JOBS: 8 # experimentally derived to be a decent choice
248 IMAGE_FAMILY: pg-ci-bullseye
250 CCACHE_DIR: /tmp/ccache_dir
251 DEBUGINFOD_URLS: "https://debuginfod.debian.net"
253 # Enable a reasonable set of sanitizers. Use the linux task for that, as
254 # it's one of the fastest tasks (without sanitizers). Also several of the
255 # sanitizers work best on linux.
257 # The overhead of alignment sanitizer is low, undefined behaviour has
258 # moderate overhead. Test alignment sanitizer in the meson task, as it
259 # does both 32 and 64 bit builds and is thus more likely to expose
262 # Address sanitizer in contrast is somewhat expensive. Enable it in the
263 # autoconf task, as the meson task tests both 32 and 64bit.
265 # disable_coredump=0, abort_on_error=1: for useful backtraces in case of crashes
266 # print_stacktraces=1,verbosity=2, duh
267 # detect_leaks=0: too many uninteresting leak errors in short-lived binaries
268 UBSAN_OPTIONS: print_stacktrace=1:disable_coredump=0:abort_on_error=1:verbosity=2
269 ASAN_OPTIONS: print_stacktrace=1:disable_coredump=0:abort_on_error=1:detect_leaks=0
271 # SANITIZER_FLAGS is set in the tasks below
272 CFLAGS: -Og -ggdb -fno-sanitize-recover=all $SANITIZER_FLAGS
274 LDFLAGS: $SANITIZER_FLAGS
278 LINUX_CONFIGURE_FEATURES: *LINUX_CONFIGURE_FEATURES
279 LINUX_MESON_FEATURES: *LINUX_MESON_FEATURES
281 <<: *linux_task_template
283 depends_on: SanityCheck
284 only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*linux.*'
287 folder: ${CCACHE_DIR}
293 ulimit -a -H && ulimit -a -S
295 create_user_script: |
297 chown -R postgres:postgres .
298 mkdir -p ${CCACHE_DIR}
299 chown -R postgres:postgres ${CCACHE_DIR}
300 echo '* - memlock 134217728' > /etc/security/limits.d/postgres.conf
301 su postgres -c "ulimit -l -H && ulimit -l -S"
302 setup_core_files_script: |
303 mkdir -m 770 /tmp/cores
304 chown root:postgres /tmp/cores
305 sysctl kernel.core_pattern='/tmp/cores/%e-%s-%p.core'
307 setup_hosts_file_script: |
308 cat >> /etc/hosts <<-EOF
309 127.0.0.1 pg-loadbalancetest
310 127.0.0.2 pg-loadbalancetest
311 127.0.0.3 pg-loadbalancetest
314 setup_additional_packages_script: |
316 #DEBIAN_FRONTEND=noninteractive apt-get -y install ...
319 - name: Linux - Debian Bullseye - Autoconf
322 SANITIZER_FLAGS: -fsanitize=address
324 # Normally, the "relation segment" code basically has no coverage in our
325 # tests, because we (quite reasonably) don't generate tables large
326 # enough in tests. We've had plenty bugs that we didn't notice due the
327 # code not being exercised much. Thus specify a very small segment size
328 # here. Use a non-power-of-two segment size, given we currently allow
333 --enable-cassert --enable-injection-points --enable-debug \
334 --enable-tap-tests --enable-nls \
335 --with-segsize-blocks=6 \
337 ${LINUX_CONFIGURE_FEATURES} \
341 build_script: su postgres -c "make -s -j${BUILD_JOBS} world-bin"
342 upload_caches: ccache
346 ulimit -c unlimited # default is 0
347 make -s ${CHECK} ${CHECKFLAGS} -j${TEST_JOBS}
353 - name: Linux - Debian Bullseye - Meson
356 CCACHE_MAXSIZE: "400M" # tests two different builds
357 SANITIZER_FLAGS: -fsanitize=alignment,undefined
363 -Dcassert=true -Dinjection_points=true \
364 ${LINUX_MESON_FEATURES} \
365 -DPG_TEST_EXTRA="$PG_TEST_EXTRA" \
369 # Also build & test in a 32bit build - it's gotten rare to test that
371 configure_32_script: |
373 export CC='ccache gcc -m32'
376 -Dcassert=true -Dinjection_points=true \
377 ${LINUX_MESON_FEATURES} \
379 --pkg-config-path /usr/lib/i386-linux-gnu/pkgconfig/ \
380 -DPERL=perl5.32-i386-linux-gnu \
381 -DPG_TEST_EXTRA="$PG_TEST_EXTRA" \
385 build_script: su postgres -c 'ninja -C build -j${BUILD_JOBS}'
386 build_32_script: su postgres -c 'ninja -C build-32 -j${BUILD_JOBS}'
388 upload_caches: ccache
393 meson test $MTEST_ARGS --num-processes ${TEST_JOBS}
395 # so that we don't upload 64bit logs if 32bit fails
398 # There's currently no coverage of icu with LANG=C in the buildfarm. We
399 # can easily provide some here by running one of the sets of tests that
400 # way. Newer versions of python insist on changing the LC_CTYPE away
401 # from C, prevent that with PYTHONCOERCECLOCALE.
402 test_world_32_script: |
405 PYTHONCOERCECLOCALE=0 LANG=C meson test $MTEST_ARGS -C build-32 --num-processes ${TEST_JOBS}
409 <<: *on_failure_meson
412 cores_script: src/tools/ci/cores_backtrace.sh linux /tmp/cores
416 name: macOS - Ventura - Meson
419 CPUS: 4 # always get that much for cirrusci macOS instances
421 # Test performance regresses noticably when using all cores. 8 seems to
423 # https://postgr.es/m/20220927040208.l3shfcidovpzqxfh%40awork3.anarazel.de
425 IMAGE: ghcr.io/cirruslabs/macos-ventura-base:latest
427 CIRRUS_WORKING_DIR: ${HOME}/pgsql/
428 CCACHE_DIR: ${HOME}/ccache
429 MACPORTS_CACHE: ${HOME}/macports-cache
436 PG_TEST_PG_UPGRADE_MODE: --clone
438 <<: *macos_task_template
440 depends_on: SanityCheck
441 only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*(macos|darwin|osx).*'
446 ulimit -a -H && ulimit -a -S
449 setup_core_files_script:
450 - mkdir ${HOME}/cores
451 - sudo sysctl kern.corefile="${HOME}/cores/core.%P"
453 # Use macports, even though homebrew is installed. The installation
454 # of the additional packages we need would take quite a while with
455 # homebrew, even if we cache the downloads. We can't cache all of
456 # homebrew, because it's already large. So we use macports. To cache
457 # the installation we create a .dmg file that we mount if it already
459 # XXX: The reason for the direct p5.34* references is that we'd need
460 # the large macport tree around to figure out that p5-io-tty is
461 # actually p5.34-io-tty. Using the unversioned name works, but
462 # updates macports every time.
464 folder: ${MACPORTS_CACHE}
465 setup_additional_packages_script: |
466 sh src/tools/ci/ci_macports_packages.sh \
478 # Make macports install visible for subsequent steps
479 echo PATH=/opt/local/sbin/:/opt/local/bin/:$PATH >> $CIRRUS_ENV
480 upload_caches: macports
485 export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig/"
488 -Dextra_include_dirs=/opt/local/include \
489 -Dextra_lib_dirs=/opt/local/lib \
490 -Dcassert=true -Dinjection_points=true \
491 -Duuid=e2fs -Ddtrace=auto \
492 -DPG_TEST_EXTRA="$PG_TEST_EXTRA" \
495 build_script: ninja -C build -j${BUILD_JOBS}
496 upload_caches: ccache
499 ulimit -c unlimited # default is 0
500 ulimit -n 1024 # default is 256, pretty low
501 meson test $MTEST_ARGS --num-processes ${TEST_JOBS}
504 <<: *on_failure_meson
505 cores_script: src/tools/ci/cores_backtrace.sh macos "${HOME}/cores"
508 WINDOWS_ENVIRONMENT_BASE: &WINDOWS_ENVIRONMENT_BASE
510 # Half the allowed per-user CPU cores
513 # The default cirrus working dir is in a directory msbuild complains about
514 CIRRUS_WORKING_DIR: "c:/cirrus"
515 # git's tar doesn't deal with drive letters, see
516 # https://postgr.es/m/b6782dc3-a7b0-ed56-175f-f8f54cb08d67%40dunslane.net
517 TAR: "c:/windows/system32/tar.exe"
518 # Avoids port conflicts between concurrent tap test runs
519 PG_TEST_USE_UNIX_SOCKETS: 1
520 PG_REGRESS_SOCK_DIR: "c:/cirrus/"
526 powershell -Command get-psdrive -psprovider filesystem
531 name: Windows - Server 2019, VS 2019 - Meson & ninja
532 << : *WINDOWS_ENVIRONMENT_BASE
535 TEST_JOBS: 8 # wild guess, data based value welcome
537 # Cirrus defaults to SetErrorMode(SEM_NOGPFAULTERRORBOX | ...). That
538 # prevents crash reporting from working unless binaries do SetErrorMode()
539 # themselves. Furthermore, it appears that either python or, more likely,
540 # the C runtime has a bug where SEM_NOGPFAULTERRORBOX can very
541 # occasionally *trigger* a crash on process exit - which is hard to debug,
542 # given that it explicitly prevents crash dumps from working...
543 # 0x8001 is SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX
544 CIRRUS_WINDOWS_ERROR_MODE: 0x8001
545 IMAGE_FAMILY: pg-ci-windows-ci-vs-2019
547 <<: *windows_task_template
549 depends_on: SanityCheck
550 only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*windows.*'
552 setup_additional_packages_script: |
553 REM choco install -y --no-progress ...
555 setup_hosts_file_script: |
556 echo 127.0.0.1 pg-loadbalancetest >> c:\Windows\System32\Drivers\etc\hosts
557 echo 127.0.0.2 pg-loadbalancetest >> c:\Windows\System32\Drivers\etc\hosts
558 echo 127.0.0.3 pg-loadbalancetest >> c:\Windows\System32\Drivers\etc\hosts
559 type c:\Windows\System32\Drivers\etc\hosts
561 # Use /DEBUG:FASTLINK to avoid high memory usage during linking
564 meson setup --backend ninja --buildtype debug -Dc_link_args=/DEBUG:FASTLINK -Dcassert=true -Dinjection_points=true -Db_pch=true -Dextra_lib_dirs=c:\openssl\1.1\lib -Dextra_include_dirs=c:\openssl\1.1\include -DTAR=%TAR% -DPG_TEST_EXTRA="%PG_TEST_EXTRA%" build
570 check_world_script: |
572 meson test %MTEST_ARGS% --num-processes %TEST_JOBS%
575 <<: *on_failure_meson
577 path: "crashlog-*.txt"
582 << : *WINDOWS_ENVIRONMENT_BASE
583 name: Windows - Server 2019, MinGW64 - Meson
585 # due to resource constraints we don't run this task by default for now
587 # worth using only_if despite being manual, otherwise this task will show up
588 # when e.g. ci-os-only: linux is used.
589 only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*mingw.*'
590 # otherwise it'll be sorted before other tasks
591 depends_on: SanityCheck
594 TEST_JOBS: 4 # higher concurrency causes occasional failures
595 CCACHE_DIR: C:/msys64/ccache
596 CCACHE_MAXSIZE: "500M"
597 CCACHE_SLOPPINESS: pch_defines,time_macros
599 # for some reason mingw plpython cannot find its installation without this
600 PYTHONHOME: C:/msys64/ucrt64
601 # prevents MSYS bash from resetting error mode
603 # Start bash in current working directory
605 BASH: C:\msys64\usr\bin\bash.exe -l
606 IMAGE_FAMILY: pg-ci-windows-ci-mingw64
608 <<: *windows_task_template
611 folder: ${CCACHE_DIR}
613 setup_additional_packages_script: |
614 REM C:\msys64\usr\bin\pacman.exe -S --noconfirm ...
617 %BASH% -c "where gcc"
618 %BASH% -c "gcc --version"
619 %BASH% -c "where perl"
620 %BASH% -c "perl --version"
622 # disable -Dnls as the number of files it creates cause a noticable slowdown
624 %BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=true -Dinjection_points=true -Db_pch=true -Dnls=disabled -DTAR=%TAR% build"
627 %BASH% -c "ninja -C build"
629 upload_caches: ccache
632 %BASH% -c "meson test %MTEST_ARGS% --num-processes %TEST_JOBS%"
635 <<: *on_failure_meson
637 path: "crashlog-*.txt"
642 name: CompilerWarnings
644 # To limit unnecessary work only run this once the SanityCheck
645 # succeeds. This is particularly important for this task as we intentionally
646 # use always: to continue after failures. Task that did not run count as a
647 # success, so we need to recheck SanityChecks's condition here ...
648 depends_on: SanityCheck
649 only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*'
654 IMAGE_FAMILY: pg-ci-bullseye
656 # Use larger ccache cache, as this task compiles with multiple compilers /
659 CCACHE_DIR: "/tmp/ccache_dir"
661 LINUX_CONFIGURE_FEATURES: *LINUX_CONFIGURE_FEATURES
662 LINUX_MESON_FEATURES: *LINUX_MESON_FEATURES
664 <<: *linux_task_template
670 ulimit -a -H && ulimit -a -S
678 setup_additional_packages_script: |
680 #DEBIAN_FRONTEND=noninteractive apt-get -y install ...
683 # Test that code can be built with gcc/clang without warnings
686 setup_script: echo "COPT=-Werror" > src/Makefile.custom
688 # Trace probes have a history of getting accidentally broken. Use the
689 # different compilers to build with different combinations of dtrace on/off
690 # and cassert on/off.
692 # gcc, cassert off, dtrace on
694 gcc_warning_script: |
698 ${LINUX_CONFIGURE_FEATURES} \
699 CC="ccache gcc" CXX="ccache g++" CLANG="ccache clang"
700 make -s -j${BUILD_JOBS} clean
701 time make -s -j${BUILD_JOBS} world-bin
703 # gcc, cassert on, dtrace off
705 gcc_a_warning_script: |
709 ${LINUX_CONFIGURE_FEATURES} \
710 CC="ccache gcc" CXX="ccache g++" CLANG="ccache clang"
711 make -s -j${BUILD_JOBS} clean
712 time make -s -j${BUILD_JOBS} world-bin
714 # clang, cassert off, dtrace off
716 clang_warning_script: |
718 --cache clang.cache \
719 ${LINUX_CONFIGURE_FEATURES} \
720 CC="ccache clang" CXX="ccache clang++" CLANG="ccache clang"
721 make -s -j${BUILD_JOBS} clean
722 time make -s -j${BUILD_JOBS} world-bin
724 # clang, cassert on, dtrace on
726 clang_a_warning_script: |
728 --cache clang.cache \
731 ${LINUX_CONFIGURE_FEATURES} \
732 CC="ccache clang" CXX="ccache clang++" CLANG="ccache clang"
733 make -s -j${BUILD_JOBS} clean
734 time make -s -j${BUILD_JOBS} world-bin
736 # cross-compile to windows
738 mingw_cross_warning_script: |
740 --host=x86_64-w64-mingw32 \
743 CC="ccache x86_64-w64-mingw32-gcc" \
744 CXX="ccache x86_64-w64-mingw32-g++"
745 make -s -j${BUILD_JOBS} clean
746 time make -s -j${BUILD_JOBS} world-bin
749 # Verify docs can be built
751 # XXX: Only do this if there have been changes in doc/ since last build
759 make -s -j${BUILD_JOBS} clean
760 time make -s -j${BUILD_JOBS} -C doc
763 # Verify headerscheck / cpluspluscheck succeed
765 # - Don't use ccache, the files are uncacheable, polluting ccache's
767 # - Use -fmax-errors, as particularly cpluspluscheck can be very verbose
768 # - XXX have to disable ICU to avoid errors:
769 # https://postgr.es/m/20220323002024.f2g6tivduzrktgfa%40alap3.anarazel.de
772 headers_headerscheck_script: |
774 ${LINUX_CONFIGURE_FEATURES} \
777 CC="gcc" CXX"=g++" CLANG="clang"
778 make -s -j${BUILD_JOBS} clean
779 time make -s headerscheck EXTRAFLAGS='-fmax-errors=10'
780 headers_cpluspluscheck_script: |
781 time make -s cpluspluscheck EXTRAFLAGS='-fmax-errors=10'
784 upload_caches: ccache