From 085a531983e210318d9e7d7088482cf4090b1fa6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 23 Mar 2026 08:21:22 +0100 Subject: [PATCH] ci: Run headerscheck and cpluspluscheck in parallel This can save several seconds of wall-clock time for that task. Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/flat/b49e74d4-3cf9-4d1c-9dce-09f75e55d026%40eisentraut.org --- .cirrus.tasks.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.cirrus.tasks.yml b/.cirrus.tasks.yml index 4841a204248..0f32827952f 100644 --- a/.cirrus.tasks.yml +++ b/.cirrus.tasks.yml @@ -1004,6 +1004,7 @@ task: ### # Verify headerscheck / cpluspluscheck succeed # + # - Run both in same script to increase parallelism, use -k to get result of both # - Use -fmax-errors, as particularly cpluspluscheck can be very verbose ### always: @@ -1014,9 +1015,7 @@ task: --quiet \ CC="ccache gcc" CXX="ccache g++" CLANG="ccache clang" make -s -j${BUILD_JOBS} clean - time make -s headerscheck EXTRAFLAGS='-fmax-errors=10' - headers_cpluspluscheck_script: | - time make -s cpluspluscheck EXTRAFLAGS='-fmax-errors=10' + time make -s -j${BUILD_JOBS} -k ${CHECKFLAGS} headerscheck cpluspluscheck EXTRAFLAGS='-fmax-errors=10' always: upload_caches: ccache