From 2a8c9b4b2b80273f633e7314077bea59cced7579 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 29 Jan 2024 07:55:14 +0100 Subject: [PATCH 1/2] .cirrus.yml: Upload `.log` files as artifacts. --- .cirrus.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 01fc029087..6e55b4bb2e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -19,6 +19,9 @@ release_ready_task: - ./configure $DEFAULT_CONFIG_OPTS checks_script: - make -j$(nproc) -s distcheck DISTCHECK_CONFIGURE_FLAGS="${DEFAULT_CONFIG_OPTS}" + always: + make_check_artifacts: + path: "**/*.log" ### # Default toolchain and build flags used in deb packages, on a range of Debian @@ -62,6 +65,9 @@ debian_default_toolchain_task: else /checks/check-built-plugins.sh fi + always: + make_check_artifacts: + path: "**/*.log" ### # Default toolchain and build flags used in RPM packages, on a range of RedHat @@ -101,6 +107,9 @@ redhat_default_toolchain_task: else /checks/check-built-plugins.sh fi + always: + make_check_artifacts: + path: "**/*.log" ### @@ -130,6 +139,9 @@ non_standard_toolchains_task: - make -j$(nproc) -sk tests_script: - VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false) + always: + make_check_artifacts: + path: "**/*.log" # build using clang with a collection of strict build flags, will most # probably always fail @@ -171,6 +183,9 @@ non_standard_toolchains_task: - make -j$(nproc) -sk tests_script: - VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false) + always: + make_check_artifacts: + path: "**/*.log" ### # Build using a range of compilers, available in debian/unstable. NB: might @@ -201,6 +216,9 @@ bleeding_edge_compilers_task: - make -j$(nproc) -sk tests_script: - VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false) + always: + make_check_artifacts: + path: "**/*.log" freebsd_task: freebsd_instance: @@ -221,3 +239,6 @@ freebsd_task: - make -j$(nproc) -sk tests_script: - VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false) + always: + make_check_artifacts: + path: "**/*.log" From 4a63b07eed4d156ce70240ab3fbde10512ac3fc1 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 29 Jan 2024 14:17:40 +0100 Subject: [PATCH 2/2] .cirrus.yml: Rename `checks_script` to `make_distcheck_script`. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 6e55b4bb2e..9f6d492aa8 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -17,7 +17,7 @@ release_ready_task: configure_script: - ./build.sh - ./configure $DEFAULT_CONFIG_OPTS - checks_script: + make_distcheck_script: - make -j$(nproc) -s distcheck DISTCHECK_CONFIGURE_FLAGS="${DEFAULT_CONFIG_OPTS}" always: make_check_artifacts: