From: Justin Pryzby Date: Tue, 19 Jul 2022 12:38:45 -0500 Subject: [PATCH 22/23] cirrus/warnings: move use a single/common 'always' block ci-os-only: warnings --- .cirrus.yml | 48 +++++++++++++++++++++--------------------------- 1 file changed, 21 insertions(+), 27 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 6f743ee03c0..f8cd7e030e9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -536,11 +536,6 @@ task: clang -v export - ccache_cache: - folder: $CCACHE_DIR - fingerprint_key: ccache/warnings - reupload_on_changes: true - setup_additional_packages_script: | #apt-get update #DEBIAN_FRONTEND=noninteractive apt-get -y install ... @@ -555,8 +550,13 @@ task: # different compilers to build with different combinations of dtrace on/off # and cassert on/off. - # gcc, cassert off, dtrace on always: + ccache_cache: + folder: $CCACHE_DIR + fingerprint_key: ccache/warnings + reupload_on_changes: true + + # gcc, cassert off, dtrace on gcc_warning_script: | time ./configure \ --cache gcc.cache \ @@ -568,8 +568,7 @@ task: time make -s -j${BUILD_JOBS} world-bin ccache --show-stats - # gcc, cassert on, dtrace off - always: + # gcc, cassert on, dtrace off gcc_a_warning_script: | time ./configure \ --cache gcc.cache \ @@ -581,8 +580,7 @@ task: time make -s -j${BUILD_JOBS} world-bin ccache --show-stats - # clang, cassert off, dtrace off - always: + # clang, cassert off, dtrace off clang_warning_script: | time ./configure \ --cache clang.cache \ @@ -593,8 +591,7 @@ task: time make -s -j${BUILD_JOBS} world-bin ccache --show-stats - # clang, cassert on, dtrace on - always: + # clang, cassert on, dtrace on clang_a_warning_script: | time ./configure \ --cache clang.cache \ @@ -607,8 +604,7 @@ task: time make -s -j${BUILD_JOBS} world-bin ccache --show-stats - # cross-compile to windows - always: + # cross-compile to windows mingw_cross_warning_script: | time ./configure \ --host=x86_64-w64-mingw32 \ @@ -620,18 +616,17 @@ task: time make -s -j${BUILD_JOBS} world-bin ccache --show-stats - ### - # Verify headerscheck / cpluspluscheck succeed - # - # - Don't use ccache, the files are uncacheable, polluting ccache's - # cache - # - Use -fmax-errors, as particularly cpluspluscheck can be very verbose - # - XXX have to disable ICU to avoid errors: - # https://postgr.es/m/20220323002024.f2g6tivduzrktgfa%40alap3.anarazel.de - # - XXX: the -Wno-register avoids verbose warnings: - # https://postgr.es/m/20220308181837.aun3tdtdvao4vb7o%40alap3.anarazel.de - ### - always: + ### + # Verify headerscheck / cpluspluscheck succeed + # + # - Don't use ccache, the files are uncacheable, polluting ccache's + # cache + # - Use -fmax-errors, as particularly cpluspluscheck can be very verbose + # - XXX have to disable ICU to avoid errors: + # https://postgr.es/m/20220323002024.f2g6tivduzrktgfa%40alap3.anarazel.de + # - XXX: the -Wno-register avoids verbose warnings: + # https://postgr.es/m/20220308181837.aun3tdtdvao4vb7o%40alap3.anarazel.de + ### headers_headerscheck_script: | export CCACHE_DISABLE=1 time ./configure \ @@ -645,7 +640,6 @@ task: headers_cpluspluscheck_script: | time make -s cpluspluscheck EXTRAFLAGS='-Wno-register -fmax-errors=10' - always: upload_caches: ccache -- 2.17.1 --tKkaNMvYmhQvRCRK Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0023-WIP-skip-building-if-only-docs-have-changed.patch"